Jami` at-Tirmidhi, Book 1, Hadith 36 (Tirmidhi 36)

Ibn 'Abbas narrated:

"The Prophet wiped his head and his ears: the outside and the inside of them." ($ahih)