Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:36Hannād > ʿAbdullāh b. Idrīs > Muḥammad b. ʿAjlān > Zayd b. Aslam > ʿAṭāʾ b. Yasār > Ibn ʿAbbās

"The Prophet wiped his head and his ears: the outside and the inside of them." ($ahih)  

الترمذي:٣٦حَدَّثَنَا هَنَّادٌ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ إِدْرِيسَ عَنْ مُحَمَّدِ بْنِ عَجْلاَنَ عَنْ زَيْدِ بْنِ أَسْلَمَ عَنْ عَطَاءِ بْنِ يَسَارٍ عَنِ ابْنِ عَبَّاسٍ

أَنَّ النَّبِيَّ ﷺ مَسَحَ بِرَأْسِهِ وَأُذُنَيْهِ ظَاهِرِهِمَا وَبَاطِنِهِمَا  

قَالَ أَبُو عِيسَى وَفِي الْبَابِ عَنِ الرُّبَيِّعِ قَالَ أَبُو عِيسَى وَحَدِيثُ ابْنِ عَبَّاسٍ حَدِيثٌ حَسَنٌ صَحِيحٌ وَالْعَمَلُ عَلَى هَذَا عِنْدَ أَكْثَرِ أَهْلِ الْعِلْمِ يَرَوْنَ مَسْحَ الأُذُنَيْنِ ظُهُورِهِمَا وَبُطُونِهِمَا

See similar narrations below:

Collected by Ibn Mājah, Bayhaqī
ibnmajah:440Abū Bakr b. Abū Shaybah > Sharīk > ʿAbdullāh b. Muḥammad b. ʿAqīl > al-Rubayyiʿ

The prophet performed ablution and wiped his ears inside and out.  

ابن ماجة:٤٤٠حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا شَرِيكٌ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدِ بْنِ عَقِيلٍ عَنِ الرُّبَيِّعِ

أَنَّ النَّبِيَّ ﷺ تَوَضَّأَ فَمَسَحَ ظَاهِرَ أُذُنَيْهِ وَبَاطِنَهُمَا  

ibnmajah:442Hishām b. ʿAmmār > al-Walīd > Ḥarīz b. ʿUthmān > ʿAbd al-Raḥman b. Maysarah > al-Miqdām b. Maʿdīkarib

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

ابن ماجة:٤٤٢حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ حَدَّثَنَا الْوَلِيدُ حَدَّثَنَا حَرِيزُ بْنُ عُثْمَانَ عَنْ عَبْدِ الرَّحْمَنِ بْنِ مَيْسَرَةَ عَنِ الْمِقْدَامِ بْنِ مَعْدِيكَرِبَ

أَنَّ رَسُولَ اللَّهِ ﷺ تَوَضَّأَ فَمَسَحَ بِرَأْسِهِ وَأُذُنَيْهِ ظَاهِرَهُمَا وَبَاطِنَهُمَا  

bayhaqi:302Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAbdullāh Muḥammad b. Yaʿqūb al-Ḥāfiẓ > Yaḥyá b. Muḥammad b. Yaḥyá > Musaddad > Bishr b. al-Mufaḍḍal > ʿAbdullāh b. Muḥammad b. ʿAqīl > al-Rubayyiʿ b. Muʿawwidh

"The Prophet wiped his head and his ears: the outside and the inside of them." ($ahih) (Using translation from Tirmidhī 36)   

البيهقي:٣٠٢أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ يَعْقُوبَ الْحَافِظُ ثنا يَحْيَى بْنُ مُحَمَّدِ بْنِ يَحْيَى ثنا مُسَدَّدٌ ثنا بِشْرُ بْنُ الْمُفَضَّلِ ثنا عَبْدُ اللهِ بْنُ مُحَمَّدِ بْنِ عَقِيلٍ عَنِ الرُّبَيِّعِ بِنْتِ مُعَوِّذٍ

أَنَّ النَّبِيَّ ﷺ مَسَحَ أُذُنَيْهِ ظَاهِرَهُمَا وَبَاطِنَهُمَا