Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:864Abū ʿAlī al-Rūdhbārī > Abū Bakr b. Dāsah > Abū Dāwud > Muḥammad b. Jaʿfar b. Ziyād > Sharīk > Qays b. Wahb > a man from Suwāʾah > ʿĀʾishah

[Machine] It was narrated from the Prophet ﷺ that he used to wash his head with khitanmi while in a state of junub (sexual impurity), using a small amount of water so it wouldn't pour over him. If this has been confirmed, it is permissible if water was generally available to wash his head with khitanmi. He used to wash his head as part of purifying himself from janabah (sexual impurity), and likewise.  

البيهقي:٨٦٤أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنا أَبُو بَكْرِ بْنُ دَاسَةَ ثنا أَبُو دَاوُدَ ثنا مُحَمَّدُ بْنُ جَعْفَرِ بْنُ زِيَادٍ ثنا شَرِيكٌ عَنْ قَيْسِ بْنِ وَهْبٍ عَنْ رَجُلٍ مِنْ سُوَاءَةَ عَنْ عَائِشَةَ

عَنِ النَّبِيِّ ﷺ أَنَّهُ كَانَ يَغْسِلُ رَأْسَهُ بِالْخِطْمِيِّ وَهُوَ جُنُبٌ يَجْتَزِئُ بِذَلِكَ وَلَا يَصُبُّ عَلَيْهِ الْمَاءَ وَهَذَا إِنْ ثَبَتَ فَمَحْمُولٌ عَلَى مَا لَوْ كَانَ الْمَاءُ غَالِبًا عَلَى الْخِطْمِيِّ وَكَانَ غَسْلُ رَأْسِهِ بِنِيَّةِ الطَّهَارَةِ مِنَ الْجَنَابَةِ وَكَذَلِكَ