Riyad as-Salihin, Book 1, Hadith 572 (In-Book)

Ibn 'Umar (May Allah be pleased with him) reported: Messenger of Allah 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].

وعن ابن عمر رضي الله عنهما‏:‏ عن النبي صلى الله عليه وسلم قال ‏:‏‏"‏ لا حسد إلى فى اثنتين‏:‏ رجل آتاه الله القرآن، فهو يقوم به آناء الليل وآناء النهار، ورجل آتاه الله مالاً فهو ينفقه آناء الليل وآناء النهار” ‏(‏‏(‏متفق عليه‏)‏‏)‏ ‏(‏‏(‏(5)‏)‏‏)‏‏.‏

sunnah.com