The Messenger of Allah ﷺ said, "Do not seek knowledge to boast of it before the scholars, nor to argue with it against the foolish, nor to choose the best seats in gatherings through it. Whoever does so, the Fire, the Fire."
قال رسول الله ﷺ: لا تعلموا العلم لتباهوا به العلماء، ولا لتماروا به السفهاء، ولا تخيروا به المجالس، فمن فعل ذلك فالنار النار.
Ibn Majah (254) narrated it from Muhammad bin Yahya, who said, Ibn Abu Maryam narrated to us, he said, Yahya bin Ayub informed us, from Ibn Jurayj, from Abu Zubayr, from Jabir bin Abdullah, (mentioned above). Ibn Hibban (77) and Hakim (86) both graded it sahih, both by way of Ibn Abu Maryam, with the same wording. Ibn Wahb also narrated it, saying, I heard Ibn Jurayj narrating it, and he mentioned the hadith as a stopped report attributed to him alone. Hakim (186) narrated it by his route and said, "This is the chain of Yahya bin Ayub Misri, from Ibn Jurayj, and he connected it, and Yahya's inclusion is agreed upon in the Sahihayn. Abdullah bin Wahb transmitted it as a disconnected report, but I follow the principle I have established of accepting an addition from a trustworthy narrator, whether in chains or in wordings." End of quote.Haafiz Busiri said in Zawaid bin Majah, "This is a chain whose narrators are trustworthy, meeting the standard of Muslim." Its chain is hasan because of Abu Zubayr, for his hadith is hasan.On this subject there is also what was narrated from Kaab bin Malik, who said, I heard the Messenger of Allah ﷺ say, "Whoever seeks knowledge in order to argue with the scholars through it, or to argue with the ignorant through it, or to turn people's faces toward himself through it, Allah will admit him into the Fire." Tirmidhi (2654) narrated it by way of Ahmad bin Miqdam, from Umaya bin Khalid, Ishaq bin Yahya bin Talha narrated to us, Ibn Kaab bin Malik narrated to me, from his father, and he mentioned the hadith. Hakim (86/1) also narrated it by another route from Ishaq bin Yahya bin Talha.Tirmidhi said, "This is a gharib hadith, we do not know it except by this route, and Ishaq bin Yahya bin Talha is not considered strong by scholars, criticism was directed at him regarding his memory."I say, it is as he said, for Ahmad, Ibn Main, Bukhari, Nasai, Abu Hatim, Ibn Hibban, and other scholars have criticized him, and in Taqrib it says, "Daif." As for Hakim, he said, "The two shaykhs (Bukhari and Muslim) did not include anything from Ishaq bin Yahya, and I only made him a supporting witness for what I mentioned earlier as meeting their standard, and Ishaq bin Yahya is among the nobles of Quraysh." By this he means the hadith of Abu Hurairah and Jabir bin Abdullah.On this subject there are other hadiths, from Ibn Umar, found in Ibn Majah (253). Its chain contains Hammad bin Abdul-Rahman Kalbi Qinnasrini, who is daif, and his shaykh Abu Karb Azdi, about whom Abu Hatim said, "Majhul (unknown)."And from Huzaifa, narrated by Ibn Majah (259), and it contains Bashir bin Maymun Wasiti, upon whose weakness the scholars are unanimously agreed. Haafiz said in Taqrib, "Matruk (abandoned), accused (of fabrication)."And from Anas, narrated by Bazzar (Kashf Astar - 178). Bazzar said, "We do not know it narrated from Anas except by this chain, Sulayman transmitted it alone and was not corroborated in it, though others narrated from him." End of quote.Haythami mentioned it in Majma (1/183-184) and said, "Tabarani narrated it in Awsat, and Bazzar, and it contains Sulayman bin Ziyad Wasiti. Tabarani and Bazzar said, Sulayman transmitted it alone. Tabarani added, and he was not corroborated in it. The author of Mizan said, We do not know who this is."I say, Tabarani's statement, "and he was not corroborated in it," was also mentioned by Bazzar as noted above, so there is no point in Haythami's saying, "Tabarani added..."The hadith is strengthened by these corroborating reports and others, as Hakim and others have said. And Allah knows best.