Sahih Bukhari | Volume 3 | Hadith Number 242

Narrated by Abdullah bin Umar
Allah's Apostle used to practise Itikaf in the last ten days of the month of Ramadan.