“I saw the Messenger of Allah (ﷺ) doing that.” (One of the narrators) said: “Ibrahim bin Tahman (one of the narrators) raised his hands to his ears.”
Sunan Ibn Majah Book 5, Hadith 66