Reference: Reported by Ibn Maajah (254) and others. This hadeeth has a witness from the hadeeth of Ka’b ibn Maalik reported by at-Tirmidhee (2654) and others and also from the hadeeth of Abu Hurayrah reported by Ahmad (2/338) and others.
Jaabir (radhi-yAllaahu ‘anhu) narrated that Allaah’s Messenger ﷺ said:
«Do not acquire knowledge in order to compete with the scholars, nor to argue with the ignorant, nor to gain mastery over the gatherings. Since whoever does that, then: The Fire! The Fire!»