Ayesha reported,

The Prophet ﷺ used to observe spiritual retreat during the last ten days of Ramadan until Allah عز وجل took him, then his wives observed the retreat after him.

Muslim 2784

Sahih

و حدثنا قتيبة بن سعيد حدثنا ليث عن عقيل عن الزهري عن عروة

عن عائشة رضي الله عنها

أن النبي ﷺ كان يعتكف العشر الأواخر من رمضان حتى توفاه الله عز وجل ثم اعتكف أزواجه من بعده

مسلم 2784صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Itikaf
Chapter
Itikaf during the last ten days of Ramadan
Numbering
Darussalam 2784
Muslim 2784