'A'isha (RAA) narrated, 'The Messenger of Allah (ﷺ) used to perform I'tikaf during the last ten days of Ramadan until he died. Then his wives used to perform I'tikaf after his death.' Agreed upon.
English reference: Book 5, Hadith 719
Arabic reference: Book 5, Hadith 699