Abu Hurairah and Aishah narrated:
"The Prophet would perform I'tikaf during the last ten (days) of Ramadan until Allah took him."