Mishkat al-Masabih

Ibn ‘Umar said that the Prophet (ﷺ) matted his hair with ghisl (A lotion made of marsh-mallows, or lotus leaves, or fuller’s earth, or potash with water). Abu Dawud transmitted it.

وَعَنِ ابْنِ عُمَرَ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَبَّدَ رَأْسَهُ بِالْغِسْلِ. رَوَاهُ أَبُو دَاوُد