It was narrated that 'Aishah said:
"The Prophet (ﷺ) would put his head out for me while he was performing I'tikaf and I would wash it, when I was menstruating." Mujawir ("next door") here means while performing I'tikaf.