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