It was narrated that 'Aishah said:
"The Prophet (ﷺ) would put his head out while he was in I'tikaf and I would wash it, while I was menstruating." (JA)
English reference (JA): Vol. 1, Book 1, Hadith 276 (JA)
Arabic reference (JA): Book 1, Hadith 277 (JA)