´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.
Hadith ReferenceSunan an-Nasa'i / Mention When Ghusal (A Purifying Bath) Is Obligatory And When It Is Not / Hadith: 277
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:متفق عليه