It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Envy (ghibtah) is permissible only regarding two people: one whom Allah has taught the Qur'an and he stands with it in prayer during the hours of the night and the day, and one whom Allah has given wealth and he spends it during the hours of the night and the day."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13105