It is disliked to withhold knowledge
باب كَرَاهِيَةِ مَنْعِ الْعِلْمِ
Sunan Abu Dawood, Book of Knowledge (Kitab Al-Ilm)(view book)
Sunan Abu Dawood 3658
Narrated AbuHurayrah:
The Prophet ﷺ said: He who is asked something he knows and conceals it will have a bridle of fire put on him on the Day of Resurrection.
حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا حَمَّادٌ، أَخْبَرَنَا عَلِيُّ بْنُ الْحَكَمِ، عَنْ عَطَاءٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ ﷺ " مَنْ سُئِلَ عَنْ عِلْمٍ فَكَتَمَهُ أَلْجَمَهُ اللَّهُ بِلِجَامٍ مِنْ نَارٍ يَوْمَ الْقِيَامَةِ " .
Classification
Sahih (Authentic) [Al-Albani]