Jami` at-Tirmidhi 2654
Grading supplied with this record: Da'if (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ طَلَبَ الْعِلْمَ لِيُجَارِيَ بِهِ الْعُلَمَاءَ أَوْ لِيُمَارِيَ بِهِ السُّفَهَاءَ أَوْ يَصْرِفَ بِهِ وُجُوهَ النَّاسِ إِلَيْهِ أَدْخَلَهُ اللَّهُ النَّارَ "
Narrated Ibn Ka'b bin Malik:
from his father that he heard the Messenger of Allah (ﷺ) saying: "Whoever seeks knowledge to contend with the scholars, or to use it to argue with the fools, and to have people's faces turn towards him, then he shall be admitted to the Fire."
Full reference and source
Jami` at-Tirmidhi 2654 In-book : Book 41, Hadith 10 English translation : Vol. 5, Book 39, Hadith 2654
View source on Sunnah.com (opens in a new tab)