Sunan Ibn Majah, Book 7, Hadith 1850 (In-Book)

It was narrated that ‘Aishah said: “The Messenger of Allah used to bring his head towards me when he was next door (observing I’tikaf), and I would wash it and comb his hair, when I was in my apartment and I was menstruating, and he was in the mosque.”

حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا وَكِيعٌ، عَنْ هِشَامِ بْنِ عُرْوَةَ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ، قَالَتْ كَانَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ يُدْنِي إِلَىَّ رَأْسَهُ وَهُوَ مُجَاوِرٌ فَأَغْسِلُهُ وَأُرَجِّلُهُ وَأَنَا فِي حُجْرَتِي وَأَنَا حَائِضٌ وَهُوَ فِي الْمَسْجِدِ ‏.‏

sunnah.com