ENOfficial
Yusuf bin Ibrahim said: 'I heard Anas bin Malik say: "I heard the Messenger of Allah (ﷺ) say: "Whoever is asked about knowledge and conceals it, it will be bridled on the Day of Resurrection with reins of fire.'"
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا أَحْمَدُ بْنُ الأَزْهَرِ، حَدَّثَنَا الْهَيْثَمُ بْنُ جَمِيلٍ، حَدَّثَنِي عُمَرُ بْنُ سُلَيْمٍ، حَدَّثَنَا يُوسُفُ بْنُ إِبْرَاهِيمَ، قَالَ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ، يَقُولُ سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ " مَنْ سُئِلَ عَنْ عِلْمٍ فَكَتَمَهُ أُلْجِمَ يَوْمَ الْقِيَامَةِ بِلِجَامٍ مِنْ نَارٍ " .
sunnah.com