It was narrated from 'Aishah that she used to comb the hair of the Messenger of Allah ﷺ when she was menstruating and he was performing I'tikaf. He would put his head out to her while she was in her room. (Using translation from Nasāʾī 386)
«أَنَّهَا كَانَتْ تُرَجِّلُ رَسُولَ اللهِ ﷺ وَهِيَ حَائِضٌ وَهُوَ مُعْتَكِفٌ فَيُنَاوِلُهَا رَأْسَهُ وَهِيَ فِي حُجْرَتِهَا»