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.
ibnmajah:439Abū Bakr b. Abū Shaybah > ʿAbdullāh b. Idrīs > Ibn ʿAjlān > Zayd b. Aslam > ʿAṭāʾ b. Yasār > Ibn ʿAbbās

The Messenger of Allah wiped his ears, putting his forefingers in his ears and wiping the back of them with his thumbs, so he wiped them inside and out.  

ابن ماجة:٤٣٩حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ إِدْرِيسَ عَنِ ابْنِ عَجْلاَنَ عَنْ زَيْدِ بْنِ أَسْلَمَ عَنْ عَطَاءِ بْنِ يَسَارٍ عَنِ ابْنِ عَبَّاسٍ

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