´It was narrated from Ibn 'Umar that:` The Prophet said: "Whoever seeks knowledge for a reason other than the sake of Allah, or intends it for a purpose other than for the sake of Allah, let him take his place in hell."
Hadith ReferenceSunan Ibn Majah / Chapters: The Book of the Sunnah / Hadith: 258
Hadith Takhrij«سنن الترمذی/العلم 6 ( 2655 ) ، ( تحفة الأشراف : 6712 ) ( ضعیف ) » ( خالد بن دریک کا سماع ابن عمر رضی اللہ عنہما سے نہیں ہے ، اس لئے یہ روایت انقطاع کی وجہ سے ضعیف ہے )