'A'isha, the wife of the Apostle (ﷺ) (may peace he upon him), reported: The Messenger of Allah (ﷺ) put out from the mosque his head for me as he was in I'tikaf, and I washed it in the state that I was menstruating.
Hadith ReferenceSahih Muslim / The Book of Menstruation / Hadith: 297