Zayd ibn Thabit reported: The Messenger of Allah, peace and blessings be upon him, said:
نَضَّرَ اللَّهُ امْرَأً سَمِعَ مِنَّا حَدِيثًا فَحَفِظَهُ حَتَّى يُبَلِّغَهُ فَرُبَّ حَامِلِ فِقْهٍ إِلَى مَنْ هُوَ أَفْقَهُ مِنْهُ وَرُبَّ حَامِلِ فِقْهٍ لَيْسَ بِفَقِيهٍ
May Allah brighten the face of a person who hears a tradition from us and he memorizes it until he can convey it to others. Perhaps he will convey it to one who understands better than him, and perhaps one who conveys knowledge does not understand it himself.
Source: Sunan Abī Dāwūd 3660, Grade: Sahih
Abdullah ibn Mas’ud reported: The Prophet, peace and blessings be upon him, said:
لَا حَسَدَ إِلَّا فِي اثْنَتَيْنِ رَجُلٌ آتَاهُ اللَّهُ مَالًا فَسُلِّطَ عَلَى هَلَكَتِهِ فِي الْحَقِّ وَرَجُلٌ آتَاهُ اللَّهُ الْحِكْمَةَ فَهُوَ يَقْضِي بِهَا وَيُعَلِّمُهَا
There is no envy but in two cases: a man whom Allah has given wealth and he spends it rightly, and a man whom Allah has given wisdom and he judges and teaches with it.
Source: Ṣaḥīḥ al-Bukhārī 73, Grade: Muttafaqun Alayhi
In another narration, the Prophet said:
يَا أَيُّهَا النَّاسُ إِنَّمَا الْعِلْمُ بِالتَّعَلُّمِ وَالْفِقْهُ بِالتَّفَقُّهِ وَمَنْ يُرِدِ اللَّهُ بِهِ خَيْرًا يُفَقِّهْهُ فِي الدِّينِ وَإِنَّمَا يَخْشَى اللَّهَ مِنْ عِبَادِهِ الْعُلَمَاءُ
O people, knowledge only comes by learning and understanding only comes by seeking understanding. For whomever Allah intends good, he gives him understanding of the religion. Verily, only those with knowledge fear Allah among his servants. (35:28)
Source: al-Mu’jam al-Kabīr 929, Grade: Hasan