"The Prophet wiped his head two times: He began with the rear of his head, then with the front of his head and with both of his ears, outside and Inside of them."
Jami` at-Tirmidhi Book 1, Hadith 33