Mishkat al-Masabih
Mishkat al-Masabih 225, 226
Chapter - Section 2
Arabic hadith text
وَعَنْ كَعْبِ بْنِ مَالِكٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ طَلَبَ الْعِلْمَ لِيُجَارِيَ بِهِ الْعُلَمَاءَ أَوْ لِيُمَارِيَ بِهِ السُّفَهَاءَ أَوْ يصرف بِهِ وُجُوه النَّاس إِلَيْهِ أَدخل الله النَّار» . رَوَاهُ التِّرْمِذِيّ
وَرَوَاهُ ابْن مَاجَه عَن ابْن عمر
Translation
Ka'b b. Malik reported God’s messenger as saying, “If anyoneseeks knowledge to use it in vying with the learned, or disputing withthe foolish, or to attract men’s attention to himself, God will bring himinto hell.” Tirmidhi transmitted it, and Ibn Majah transmitted it fromIbn ‘Umar.