Sunan at-Tirmithiy كتاب العلم باب ما جاء كتمان العلم
حَدَّثَنَا أَحْمَدُ بْنُ بُدَيْلِ بْنِ قُرَيْشٍ الْيَامِىُّ الْكُوفِىُّ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ عَنْ عُمَارَةَ بْنِ زَاذَانَ عَنْ عَلِىِّ بْنِ الْحَكَمِ عَنْ عَطَاءٍ عَنْ أَبِى هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم مَنْ سُئِلَ عَنْ عِلْمٍ عَلِمَهُ ثُمَّ كَتَمَهُ أُلْجِمَ يَوْمَ الْقِيَامَةِ بِلِجَامٍ مِنْ نَارٍ. وَفِى الْبَابِ عَنْ جَابِرٍ وَعَبْدِ اللَّهِ بْنِ عَمْرٍو. قَالَ أَبُو عِيسَى حَدِيثُ أَبِى هُرَيْرَةَ حَدِيثٌ حَسَنٌ.
The Messenger of God, peace and blessings of God be upon him, said, "Whoever is asked about knowledge he (1) has and conceals it, shall be bridled on the Day of Resurrection with a bridle of fire (2)."
. (1) Masculine pronouns are generally used in Arabic as a means for referring to both men and women when the meaning is left general and is not otherwise specified. (2) Some scholars limit the mentioned punishment to cases where one hides vital information, such as what Islām is about or how to pray etc