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.
suyuti:9555a

"O People, ˹know that˺ knowledge is ˹gained˺ through teaching, and wisdom/understanding is ˹gained˺ through legal practice. When Allah wills good for someone he gives him wisdom/understanding of the Religion. And 'only those fear Allah, from among His servants, who have knowledge' (Fāṭir 35:28)."  

Ṭabarānī
السيوطي:٩٥٥٥a

"أَيُّهَا النَّاسُ إِنَّمَا العِلْمُ بالتَّعَلُّم، والفِقْهُ بالتَّفَقُّهِ، وَمَنْ يُرِدِ اللهُ بهِ خِيرًا يُفَقِّهْهُ فِي الدِّين، وَإنَّمَا يَخْشَى اللهَ مِنْ عِبَادِهِ العُلَمَاءُ".

.  

[طب] الطبرانى في الكبير عن معاوية

See similar narrations below:

Collected by Ṭabarānī
tabarani:17040Aḥmad b. al-Muʿallá al-Dimashqī > Hishām b. ʿAmmār > Ṣadaqah b. Khālid > ʿUtbah b. Abū Ḥakīm ʿAmman > Muʿāwiyah

[Machine] I heard the Messenger of Allah ﷺ saying, "O people! Indeed, knowledge is only acquired through learning, and understanding is gained through studying. Whoever Allah wishes good for, He grants them understanding in religion. The truly fearful of Allah among His servants are the scholars."  

الطبراني:١٧٠٤٠حَدَّثَنَا أَحْمَدُ بْنُ الْمُعَلَّى الدِّمَشْقِيُّ ثنا هِشَامُ بْنُ عَمَّارٍ ثنا صَدَقَةُ بْنُ خَالِدٍ ثنا عُتْبَةُ بْنُ أَبِي حَكِيمٍ عَمَّنْ حَدَّثَهُ عَنْ مُعَاوِيَةَ قَالَ

سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ «يَا أَيُّهَا النَّاسُ إِنَّمَا الْعِلْمُ بِالتَّعَلُّمِ وَالْفِقْهُ بِالتَّفَقُّهِ وَمَنْ يُرِدِ اللهُ بِهِ خَيْرًا يُفَقِّهْهُ فِي الدِّينِ وَإِنَّمَا يَخْشَى اللهَ مِنْ عِبَادِهِ الْعُلَمَاءُ»