Arabic (Original)
وعن أبي هريرة رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم " من تعلم علمًا مما يبتغى به وجه الله عز وجل لا يتعلمه إلا ليصيب به عرضًا من الدنيا، لم يجد عَرف الجنة يوم القيامة" يعني ريحها. رواه أبو داود بإسناد صحيح والأحاديث في الباب كثير مشهورة.
English Translation
Hadrat Abu Hurairah (may Allah be well pleased with him) said:The Beloved Messenger of Allah (blessings and peace of Allah be upon him) stated, "A person who acquires (religious) knowledge, which is (normally) acquired to gain the Pleasure of Allah, (for the sole reason) to secure worldly comforts will not even smell the fragrance of Jannah on the Day of Resurrection (i.e., will not enter Jannah).".
Urdu Translation
حضرت ابو ہریرہ رضی اللہ تعالیٰ عنہ فرماتے ہیں کہ رسول اللہ صلی اللہ تعالیٰ علیہ وآلہ وسلم نے ارشاد فرمایا: جس نے ایسا علم سیکھا جو اللہ عزوجل کی رضا کے لیے سیکھا جاتا ہے، صرف اس لیے سیکھا کہ دنیا کا کوئی فائدہ حاصل کرے، تو وہ قیامت کے دن جنت کی خوشبو بھی نہ پائے گا۔ (رواہ ابو داؤد بإسناد صحیح)
