It is narrated from Sayyiduna Anas (may Allah be pleased with him): "A man would accept Islam merely for some small worldly gain, but evening would not yet have come before Islam became dearer to him than the world and everything in it."
Imam Abu Ya'la al-Mawsili (may Allah have mercy on him) narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him): "Indeed, a person would come to the Messenger of Allah (peace and blessings be upon him) merely to obtain some worldly thing and would accept Islam only for its sake, but before evening came (Islam would become dearer to him than everything)," and then he mentioned the complete hadith.
Imam Abu Ya'la (may Allah have mercy on him) also recorded a narration with the same meaning through another chain.
I say: All the narrators of the chain of this hadith of Sayyiduna Anas (may Allah be pleased with him) are thiqat (trustworthy).
Hadith Takhrij«قلت: إسناد حديث أنس رجاله ثقات» «أخرجه صحيح مسلم برقم: 2312، وأخرجه مسند أحمد برقم: 11639، 12379، 13319، 13615، وأخرجه صحيح ابن خزيمة برقم: 2372، وأخرجه صحيح ابن حبان برقم: 6373، وأخرجه رياض الصالحين برقم: 578»