It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him): "At times a man would come to the Messenger of Allah (peace and blessings be upon him) and accept Islam merely for the sake of some worldly gain, his accepting Islam having no purpose other than that; yet evening would not have come before Islam became dearer to him than the world and all that is in it."
Hadith Referenceمسند أبي يعلى الموصلي / مسند أنس بن مالك / 3750
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده ضعيف . » «قال سعيد بن محمد السناري: صحيح» «أخرجه أحمد [3/ 107]، وأبو نعيم في "الحلية" [10/ 381]، ومسدد في "مسنده" كما في "إتحاف الخيرة" [رقم 43]، وغيرهم، مسند ابویعلیٰ ترقیم الاثری: 3738»