Mishkat al-Masabih
Mishkat al-Masabih 223, 224
Arabic hadith text
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «من سُئِلَ عَنْ عِلْمٍ عَلِمَهُ ثُمَّ كَتَمَهُ أُلْجِمَ يَوْمَ الْقِيَامَةِ بِلِجَامٍ مِنْ نَارٍ» . رَوَاهُ أَحْمَدُ وَأَبُو دَاوُد وَالتِّرْمِذِيّ وَرَوَاهُ ابْن مَاجَه عَن أنس
Translation
Abu Hurayra reported that the Messenger of God said: ‘Whoever is asked about knowledge that he knows and then conceals it will be bridled with a bridle of fire on the Day of Resurrection.’ Aḥmad, Abū Dāwūd, and al-Tirmidhī transmitted it; Ibn Mājah transmitted it from Anas.