Allah says in The Holy Quran, Surah Al Hashr, 59:9 –
“But those who before them, had homes (in Madinah) and had adopted the Faith,- show their affection to such as came to them for refuge, and entertain no desire in their hearts for things given to the (latter), but give them preference over themselves, even though poverty was their (own lot). And those saved from the covetousness of their own souls,- they are the ones that achieve prosperity.”