(6) باب مَا جَاءَ فِيمَنْ يَطْلُبُ بِعِلْمِهِ الدُّنْيَا
Narrated Ibn 'Umar:
that the Prophet (ﷺ) said: "Whoever learns knowledge for other than (the sake of) Allah, or intends by it other than Allah, then let him take his seat in the Fire." (JA)
Reference (JA): Jami` at-Tirmidhi 2655 (JA)
In-book reference (JA): Book 41, Hadith 11 (JA)
English translation (JA): Vol. 5, Book 39, Hadith 2655 (JA)