The Prophet ﷺ said, "Whoever conceals knowledge that he possesses will come on the Day of Resurrection bridled with a bridle of fire."
حدثنا محمد بن يزيد أخبرنا الحجاج عن عطاء
عن النبي ﷺ من كتم علما يعلمه جاء يوم القيامة ملجما بلجام من نار
Its isnad is sahih. It appeared previously at 10435.