Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “There is no envy but in two cases: a man whom Allah has given the Quran and he recites it by night and day, so it is said: If I were given the likes of this, I would act as he has. And a man whom Allah has given wealth and he spends it rightly, so it is said: If I were given the likes of this, I would act as he has.”
Source: Ṣaḥīḥ al-Bukhārī 7232
Grade: Sahih (authentic) according to Al-Bukhari
عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَا تَحَاسُدَ إِلَّا فِي اثْنَتَيْنِ رَجُلٌ آتَاهُ اللَّهُ الْقُرْآنَ فَهُوَ يَتْلُوهُ آنَاءَ اللَّيْلِ وَالنَّهَارِ يَقُولُ لَوْ أُوتِيتُ مِثْلَ مَا أُوتِيَ هَذَا لَفَعَلْتُ كَمَا يَفْعَلُ وَرَجُلٌ آتَاهُ اللَّهُ مَالًا يُنْفِقُهُ فِي حَقِّهِ فَيَقُولُ لَوْ أُوتِيتُ مِثْلَ مَا أُوتِيَ لَفَعَلْتُ كَمَا يَفْعَلُ
7232 صحيح البخاري كتاب التمني باب تمني القرآن والعلم