A menstruating woman is permitted to comb the hair of a man in I‘tikaf.
باب الْحَائِضُ تُرَجِّلُ رَأْسَ الْمُعْتَكِفَ
Sahih al-Bukhari, Book of Retiring to a Mosque for Remembrance of Allah (I'tikaf)(view book)
Sahih al-Bukhari 2028
Narrated 'Aisha:
The Prophet used to (put) bend his head (out) to me while he was in Itikaf in the mosque during my monthly periods and I would comb and oil his hair.
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا يَحْيَى، عَنْ هِشَامٍ، قَالَ أَخْبَرَنِي أَبِي، عَنْ عَائِشَةَ ـ رضى الله عنها ـ قَالَتْ كَانَ النَّبِيُّ ﷺ يُصْغِي إِلَىَّ رَأْسَهُ وَهْوَ مُجَاوِرٌ فِي الْمَسْجِدِ، فَأُرَجِّلُهُ وَأَنَا حَائِضٌ.
Classification
Sahih (Authentic)