Ayesha reported,

The Messenger of Allah ﷺ used to bring his head close to me while he was in seclusion in the mosque, and I would wash it and comb it while I was in my room menstruating, and he was in the mosque.

Ibn Majah 1778

Sahih

حدثنا علي بن محمد حدثنا وكيع عن هشام بن عروة عن أبيه

عن عائشة قالت

كان رسول الله ﷺ يدني إلي رأسه وهو مجاور فأغسله وأرجله وأنا في حجرتي وأنا حائض وهو في المسجد

ابن ماجه 1778صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Fasting
Chapter
One in itikaf washing and combing his hair
Numbering
Darussalam 1778
Ibn Majah 1778