The Prophet would perform i'tikaf for ten days every Ramadan. In the year that he died, he performed it for twenty days. This is related by alBukhari, Abu Dawud, and ibn-Majah. The Prophet's companions and wives performed i'tikaf with him and continued to do so after his death.