Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said: "When a person in a state of major ritual impurity (junub) washes his head with khitmi, that suffices him from washing it with water."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 9226