TIRMIDHI 2685:
from Abū Umāmah al-Bāhilī —
"Two men were mentioned before the Messenger of Allah ﷺ. One of them a worshiper, and the other a scholar. So the Messenger of Allah ﷺ said: 'The superiority of the scholar over the worshiper is like my superiority over the least of you.' Then the Messenger of Allah ﷺ said: 'Indeed Allah, His Angels, the inhabitants of the heavens and the earths - even the ant in his hole, even the fish - say Salat upon the one who teaches the people to do good.'"
الترمذي ٢٦٨٥:
عن ابو امامه الباهلي —
ذُكِرَ لِرَسُولِ اللَّهِ ﷺ رَجُلاَنِ أَحَدُهُمَا عَابِدٌ وَالآخَرُ عَالِمٌ فَقَالَ رَسُولُ اللَّهِ ﷺ فَضْلُ الْعَالِمِ عَلَى الْعَابِدِ كَفَضْلِي عَلَى أَدْنَاكُمْ ثُمَّ قَالَ رَسُولُ اللَّهِ ﷺ إِنَّ اللَّهَ وَمَلاَئِكَتَهُ وَأَهْلَ السَّمَوَاتِ وَالأَرْضِ حَتَّى النَّمْلَةَ فِي جُحْرِهَا وَحَتَّى الْحُوتَ لَيُصَلُّونَ عَلَى مُعَلِّمِ النَّاسِ الْخَيْرَ
hadithunlocked.com