Riyad as-SalihinChapter 9Hadith 590
Full Sharh — Riyad as-Salihin 590
وعن عائشة رضي الله عنها أن النبي صلى الله عليه وسلم كان يعتكف العشر الأواخر من رمضان، حتى توفاه الله، تعالى ثم اعتكف أزواجه من بعده. ((متفق عليه))
English Translation
'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..
Source
Riyad as-Salihin(رياض الصالحين)
The Book of I'tikaf
Hadith Number
590