The Messenger of Allah (ﷺ) used to wash his head with marsh-mallow while he was sexually defiled. It was sufficient for him and he did not pour water upon it.
Reference: Sunan Abi Dawud 256 In-book : Book 1, Hadith 256 English translation : Book 1, Hadith 256
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.