It is narrated from Sayyiduna Anas (may Allah be pleased with him) that a man asked the Prophet (peace and blessings be upon him) for the goats that were between two mountains, and he (peace and blessings be upon him) gave them to him. He came to his people and said: "Become Muslims, for by Allah! Muhammad (peace and blessings be upon him) gives like one who has no fear of poverty." Sayyiduna Anas (may Allah be pleased with him) says that a man would accept Islam wanting nothing but the world, and he would hardly have accepted Islam before Islam became dearer to him than the world and everything in it.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الصدقات / 13188