Abu Hurairah reported,

The Messenger of Allah ﷺ said, "There is no envy except in two cases. A man whom Allah has given the Quran, so he recites it throughout the night and throughout the day, and another man says, 'If I were given the like of what this man has been given, I would do as he does.' And a man whom Allah has given wealth, so he spends it rightfully, and another says, 'If I were given the like of what this man has been given, I would do with it as he does.'"

Bukhari 7528

Sahih

حدثنا قتيبة حدثنا جرير عن الأعمش عن أبي صالح

عن أبي هريرة قال

قال رسول الله ﷺ لا تحاسد إلا في اثنتين رجل آتاه الله القرآن فهو يتلوه آناء الليل وآناء النهار فهو يقول لو أوتيت مثل ما أوتي هذا لفعلت كما يفعل ورجل آتاه الله مالا فهو ينفقه في حقه فيقول لو أوتيت مثل ما أوتي عملت فيه مثل ما يعمل

البخاري 7528صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tawhid
Chapter
Prophet's ﷺ saying, "A man to whom Allah gave the Quran and he stands with it during the hours of the night and day, and a man who says if I were given what this one was given I would do as he does"
Numbering
Darussalam 7528
Bukhari 7528