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.
ibnmajah:261Abū Bakr b. Abū Shaybah > Aswad b. ʿĀmir > ʿImārah b. Zādhān > ʿAlī b. al-Ḥakam > ʿAṭāʾ > Abū Hurayrah

The Prophet said: "There is no man who memorizes knowledge then conceals it, but he will be brought forth on the Day of Resurrection bridled with reins of fire." (Hasan) Another chain with similar wording.  

ابن ماجة:٢٦١حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا أَسْوَدُ بْنُ عَامِرٍ حَدَّثَنَا عِمَارَةُ بْنُ زَاذَانَ حَدَّثَنَا عَلِيُّ بْنُ الْحَكَمِ حَدَّثَنَا عَطَاءٌ عَنْ أَبِي هُرَيْرَةَ

عَنِ النَّبِيِّ ﷺ قَالَ مَا مِنْ رَجُلٍ يَحْفَظُ عِلْمًا فَيَكْتُمُهُ إِلاَّ أُتِيَ بِهِ يَوْمَ الْقِيَامَةِ مُلْجَمًا بِلِجَامٍ مِنَ النَّارِ قَالَ أَبُو الْحَسَنِ أَىِ الْقَطَّانُ وَحَدَّثَنَا أَبُو حَاتِمٍ حَدَّثَنَا أَبُو الْوَلِيدِ حَدَّثَنَا عِمَارَةُ بْنُ زَاذَانَ فَذَكَرَ نَحْوَهُ قَالَ أَبُو الْحَسَنِ أَيْضًا وَحَدَّثَنَا إِبْرَاهِيمُ بْنُ نَصْرٍ قَالَ حَدَّثَنَا أَبُو نُعَيْمٍ قَالَ حَدَّثَنَا عِمَارَةُ بْنُ زَاذَانَ فَذَكَرَ نَحْوَهُ