Shurayh ibn Ubayd said: Jubayr ibn Nufayr gave me a verdict about the bath because of sexual defilement that Thawban reported to them that they asked the Prophet ﷺ about it. He (the Prophet) replied: As regards man, he should undo the hair of his head and wash it until the water should reach the roots of the hair. But there is no harm if the woman does not undo it (her hair) and pour three handfuls of water over her head.
أَنَّ ثَوْبَانَ حَدَّثَهُمْ أَنَّهُمُ اسْتَفْتَوُا النَّبِيَّ ﷺ عَنْ ذَلِكَ فَقَالَ أَمَّا الرَّجُلُ فَلْيَنْشُرْ رَأْسَهُ فَلْيَغْسِلْهُ حَتَّى يَبْلُغَ أُصُولَ الشَّعْرِ وَأَمَّا الْمَرْأَةُ فَلاَ عَلَيْهَا أَنْ لاَ تَنْقُضَهُ لِتَغْرِفْ عَلَى رَأْسِهَا ثَلاَثَ غَرَفَاتٍ بِكَفَّيْهَا