Jabir bin Abdullah reported,

The Prophet ﷺ said, "Do not seek knowledge to boast before the scholars, nor to argue with the foolish, nor to gain the best seats in gatherings. Whoever does so, the Fire, the Fire."

Ibn Majah 254

Daif

حدثنا محمد بن يحيى حدثنا ابن أبي مريم أنبأنا يحيى بن أيوب عن ابن جريج عن أبي الزبير

عن جابر بن عبد الله

أن النبي ﷺ قال لا تعلموا العلم لتباهوا به العلماء ولا لتماروا به السفهاء ولا تخيروا به المجالس فمن فعل ذلك فالنار النار

ابن ماجه 254ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Sunnah
Chapter
Benefiting from knowledge and acting upon it
Numbering
Darussalam 254
Ibn Majah 254