Riyad as-Salihin
Riyad as-Salihin 1391
Virtues of Knowledge which is Learnt and Taught for the sake of Allah
Arabic hadith text
وعنه قال: قال رسول الله صلى الله عليه وسلم : "من تعلم علمًا مما يبتغى به وجه الله عز وجل لا يتعلمه إلا ليصيب به غرضًا من الدنيا لم يجد عرف الجنة يوم القيامة" ((يعني ريحها))، ((رواه أبو داود بإسناد صحيح. )).
Translation
Abu Hurairah (May Allah be pleased with him) reported
The Messenger of Allah(ﷺ) said, "He who does not acquire knowledge with the sole intention of seeking the Pleasure of Allah but for worldly gain, will not smell the fragrance of Jannah on the Day of Resurrection."[Abu Dawud].