Hadith 2

Riyad as-Salihin

Book 9: The Book of I'tikaf

Chapter 232

I'tikaf (Seclusion in the Mosque) in the Month of Ramadan

باب الاعتكاف في رمضان

Riyad as-Salihin 1269
وعن عائشة رضي الله عنها أن النبي صلى الله عليه وسلم كان يعتكف العشر الأواخر من رمضان، حتى توفاه الله، تعالى ثم اعتكف أزواجه من بعده‏.‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏
'Aishah (May Allah be pleased with her) reported:

The Prophet (ﷺ) used to engage himself in I'tikaf (seclusion for prayers) in the mosque during the last ten nights of Ramadan till he passed away; thereafter, his wives followed this practice after him.[Al- Bukhari and Muslim].