Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “The parable of one who learns sacred knowledge and then does not share it is like one who stores up treasure and does not spend it.”
Source: al-Mu’jam al-Awsaṭ lil-Ṭabarānī 689
Grade: Hasan (fair) according to Al-Albani
عَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ مَثَلُ الَّذِي يَتَعَلَّمُ الْعِلْمَ ثُمَّ لَا يُحَدِّثُ بِهِ كَمَثَلِ الَّذِي يَكْنِزُ الْكَنْزَ فَلَا يُنْفِقُ مِنْهُ
689 المعجم الأوسط للطبراني
3479 المحدث الألباني خلاصة حكم المحدث إسناده حسن في السلسلة الصحيحة