He wiped his head with water which was not what was left over after washing his hands (i.e. he wiped his head with clean water); then he washed his feet until he cleansed them.
Sunan Abi Dawud Book 1, Hadith 120