from his father that he heard the Messenger of Allah (ﷺ) saying: "Whoever seeks knowledge…

Jami` at-Tirmidhi Book 41 Hadith 10

Jami` at-Tirmidhi #2654

Chapters on Knowledge 41:10

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."

Chapter: About One Who Seeks The World With His Knowledge

Grade: Da'if (Darussalam)