Sahih Bukhari | Volume 3 | Hadith Number 243

Narrated by 'Aisha
(The wife of the Prophet) The Prophet used to practice Itikaf in the last ten days of Ramadan till he died and then his wives used to practice Itikaf after him.