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.