Hadith on Envy: If had the blessings he had, I would do the same thing he is doing

Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “There is no justification for envy except in two cases. First, a man whom Allah has given the Quran and he recites it during the night and day, so someone says: If I were to be given like this, I would do as he is doing. And second, a man whom Allah has given wealth and he spends it in justice, so someone says: If I were to be given like this, I would do as he is doing.

Source: Sahih Bukhari 6805

Grade: Sahih (authentic) according to Al-Bukhari

عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَا تَحَاسُدَ إِلَّا فِي اثْنَتَيْنِ رَجُلٌ آتَاهُ اللَّهُ الْقُرْآنَ فَهُوَ يَتْلُوهُ آنَاءَ اللَّيْلِ وَالنَّهَارِ يَقُولُ لَوْ أُوتِيتُ مِثْلَ مَا أُوتِيَ هَذَا لَفَعَلْتُ كَمَا يَفْعَلُ وَرَجُلٌ آتَاهُ اللَّهُ مَالًا يُنْفِقُهُ فِي حَقِّهِ فَيَقُولُ لَوْ أُوتِيتُ مِثْلَ مَا أُوتِيَ لَفَعَلْتُ كَمَا يَفْعَلُ

6805 صحيح البخاري كِتَاب التَّمَنِّي بَاب تَمَنِّي الْقُرْآنِ وَالْعِلْمِ