Ibn 'Umar (May Allah be pleased with them) reported:
The Prophet (ﷺ) said: "Envy is justified in regard to two types of persons only: a man whom Allah has given knowledge of the Qur'an, and so he recites it during the night and during the day; and a man whom Allah has given wealth and so he spends from it during the night and during the day."[Al-Bukhari and Muslim]. (ES)
App reference (ES): Book 9, Hadith 7 (ES)
Arabic/English book reference (ES): Book 9, Hadith 997 (ES)