(78) باب الاِعْتِكَافِ
'Aishah said:
The Prophet (ﷺ) used to observe retirement (i'tikaf) to the mosque during the last ten days of Ramadan till Allah took him, and then his wives observed retirement to the mosque after his death.
Reference: Sunan Abi Dawud 2462
In-book reference: Book 14, Hadith 150
English translation: Book 13, Hadith 2456