Volume 3 · Book 33 · Hadith 242
Narrated Abdullah bin Umar: Allah's Apostle used to practise Itikaf in the last ten days of the month of Ramadan.
— Sahih Bukhari, Volume 3, Book 33: Retiring to a Mosque for Remembrance of Allah (I'tikaf), Hadith #242