It is narrated from Hazrat Aisha (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) used to observe i'tikaf and would extend his head out from the mosque, and I would wash it while I was in my menstrual period, and he would only enter the house for human needs.