Aisha during her menses used to comb and oil the hair of the Prophet ﷺ while he used to be in Iʿtikaf in the mosque. He would stretch out his head towards her while she was in her chamber. (Using translation from Bukhārī 2046)
أَنَّهَا كَانَتْ تُرَجِّلُ النَّبِيَّ ﷺ وَهِيَ حَائِضٌ وَهُوَ مُعْتَكِفٌ فِي الْمَسْجِدِ فَيُنَاوِلُهَا رَأْسَهُ وَهِيَ فِي حُجْرَتِهَا