I heard the Messenger of Allah ﷺ say, "Whoever seeks knowledge to compete with the scholars, or to argue with the foolish, or to turn people's faces toward himself, Allah will admit him into the Fire."
حدثنا أبو الأشعث أحمد بن المقدام العجلي البصري حدثنا أمية بن خالد حدثنا إسحق بن يحيى بن طلحة
سمعت رسول الله ﷺ يقول من طلب العلم ليجاري به العلماء أو ليماري به السفهاء أو يصرف به وجوه الناس إليه أدخله الله النار