The Prophet (ﷺ) wiped his head with water which was left over in his hand. Sunan Abi Dawud Book 1, Hadith 130