Sunan Ibn Majah, Book 1, Hadith 176 (Ibn Majah 442)

It was narrated from Miqdam bin Ma'dikarib that:

The Messenger of Allah performed ablution and he wiped his head and his ears, inside and out.