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 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, which he spends in its rightful place, and another man says, 'If I were given the like of what he has been given, I would do as he does.'"Qutayba narrated to us, Jareer narrated to us this same report.

Bukhari 7232

Sahih

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

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

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

البخاري 7232صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Wishing
Chapter
Wishing for Quran and knowledge
Numbering
Darussalam 7232
Bukhari 7232