Sunan Abi Dawud, Book 1, Hadith 123 (Abu Dawud 123)

Another version says:

He wiped his ears inside and outside. Hisham adds: He inserted his fingers in the ear-holes.