You know that envy is a bad trait. If someone else gets some pleasure then you hope Allah ends that pleasure from him, this is envy which is forbidden. However, there is “envy” that is allowed.
In a hadith from Abdullah ibn Mas’ud (may Allah blesses him), that the Prophet (ﷺ) says:
لَا حَسَدَ إِلَّا فِي اثْنَتَيْنِ رَجُلٌ آتَاهُ اللَّهُ مَالًا فَسُلِّطَ عَلَى هَلَكَتِهِ فِي الْحَقِّ وَرَجُلٌ آتَاهُ اللَّهُ الْحِكْمَةَ فَهُوَ يَقْضِي بِهَا وَيُعَلِّمُهَا
“There is no cause for envy except in two cases: a man to whom Allah gives wealth and enables him to spend it in support of the truth, and a man to whom Allah gives wisdom and he rules in accordance with it and teaches it” [Al-Bukhari and Muslim].
The meaning of “envy” (hasad) in this hadith here is gibta. Which is hoping that he will have the same blessing as anyone else without wiping out from someone else.
This hadith shows how great the virtue of people who devote their wealth to charity. And also people who have Islamic knowledge and teach it to others.
Join our waqf program to support our charity foundation at ussunnah.org/waqf