It was narrated that 'Aishah said:
"The Prophet (ﷺ) would put his head out for me while he was performing I'tikaf [1] and I would wash it, when I was menstruating."[1] Mujawir ("next door") here means while performing I'tikaf. (JA)
English reference (JA): Vol. 1, Book 1, Hadith 277 (JA)
Arabic reference (JA): Book 1, Hadith 278 (JA)