It was narrated from Ibn 'Abbas that:
The Messenger of Allah wiped his ears, putting his forefingers in his ears and wiping the back of them with his thumbs, so he wiped them inside and out.
English reference: Vol. 1, Book 1, Hadith 439
Arabic reference: Book 1, Hadith 474
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.