In The Name of Allaah, The Most Merciful, The Bestower of Mercy.
Imaam Ibn Qudaamah [may Allaah have mercy upon him] said: In most cases envy occurs between contemporaries, peers, brothers and cousins, because of the conflicting goals of everyone that leads to discord and enmity. And due to this, you will find a scholar envying another scholar, but he will not envy a worshipper; a worshipper envying another worshipper, but he will not envy a scholar; a trader envying another trader and a cobbler envying another cobbler. That is because they have conflicting goals. The basis of this affair is due to love of the worldly things, because indeed the worldly things are restricted for those who compete for it. As for the afterlife, there is no restriction within it, because the one who loves knowledge and awareness of Allaah, knowledge and awareness regarding Allaah’s angels, Allaah’s Prophets and Allaah’s Mighty Dominion over the heavens and the earth, he will not envy others after being acquainted with these affairs, because they are not restricted by one another; rather one particular individual scholar is known by thousands of scholars and they rejoice due to the understanding he has.
This is why there is no envy between the (upright) scholars of the religion, because their aim is to acquire knowledge and awareness of Allaah [Glorified be He and free is He from all imperfections], which is a vast affair. Their goal is to acquire a high status in the sight of Allaah and that which Allaah has kept in the afterlife is unlimited, because Allaah’s loftiest blessing is the pleasure of meeting Him, which can neither be prevented nor restricted, nor can some competitors in the affair make it restricted for others; rather harmony increases as the competitors increase; but if wealth and status become the goal of the scholars, they will envy one another.
The difference between knowledge and wealth is that wealth does not remain in the hands of one person; but as for knowledge, it settles in the heart of a scholar and in the heart of the one taught by the scholar, whilst still remaining in the heart of the scholar. Therefore, whoever contemplates on the Greatness of Allaah and His Mighty Dominion [i.e. by pondering upon what Allaah has created and the revelation He has sent down], it will become the greatest pleasure for him than every other blessing, because neither can he be prevented nor restricted in that. And he will not harbour any envy in his heart towards anyone, because if others were acquainted with what he is acquainted with, it will still not reduce his pleasure in the affair.
You do not find people overcrowding to view the beauty of the sky because it is vast and unrestricted; therefore, if you are merciful to yourself, then it is obligated on you to seek after a bliss in whose path there is no obstruction and a pleasure that will not cease [i.e. the competition for this worldly life is restricted for its competitors and will come to an end, whereas the afterlife is unrestricted.] And this cannot be found in this worldly life, except by acquainting oneself with knowledge and awareness of Allaah and the amazing nature of His Dominion [over everything].
However, if you do not yearn to acquaint yourself with knowledge and awareness of Allaah and your desire is weak, then neither will you find it nor its pleasure. Therefore, you’re not man enough, because this affair is that of men, for indeed yearning for something occurs after experiencing it. The one who has not tasted will not know, the one who does know will not yearn, the one who does not yearn will not seek, the one who does not seek will not find (anything), and the one who does not find (anything) will be amongst those who are deprived.
Know that envy is a great disease of the hearts and the diseases of the hearts are not cured except with knowledge and action. The beneficial knowledge for curing envy is to know that in reality envy is harmful to your religious and worldly affairs, but the envied one is neither harmed in his religious nor worldly affairs; rather he is benefited by it. Blessings do not cease from the person you envy. And even if you were not a believer in the resurrection, this would still have necessitated a realisation–if you are sensible– to be mindful of envy due to the pain it brings to the heart as well as [having] no benefit; then how about when you know of its punishment in the afterlife.
And the clarification of our statement: Indeed, the envied one is neither harmed in his Religious nor worldly affairs, rather he is benefited by it in his Religious and worldly affairs: That is because the blessings Allaah have decreed for him will continue until the end of his lifespan and there is no harm upon him in the hereafter [due to be envied] because he has not committed any sin in that; rather he is benefited by it because he is someone receiving oppression from you, especially if the envy comes out through speech and action.
As for the benefit in the worldly life [i.e. the benefits of being envied] , it is because the most important aim of the creation is [to witness] the grief of an enemy and there is no punishment greater than the [blameworthy] envy you find in yourself. If you contemplate on what we have mentioned, you will know that you are indeed an enemy to yourself– a friend of your enemy [within yourself]. Your likeness is nothing other than that of a person who threw a stone at his enemy to kill him, but he could not harm him and the stone bounced back on his right eye and plucked it out. So his anger increased and he -again – threw a stone harder than the first one, but it bounced back on his other eye and plucked it out. So his rage increased, and he threw a third stone, but it bounced back on his head and broke it, whilst his enemy is safe and laughing at him. This is a knowledge base cure [for envy]. If a person reflects upon this, the inferno of envy will be extinguished from his heart.
As for beneficial action [to help cure envy], then it is to make binding upon oneself to destroy what envy commands one to do. If it arouses him towards hatred and defamation of the one who is envied, he should make it binding upon himself to praise and extol him. If it makes him arrogant, he will make it binding upon himself to be humble towards him [i.e. the one envied]; and if it makes him block favours from reaching him, he should make it binding upon himself to increase in giving him favours. And there were a group of the pious predecessors who whenever it reached them that a person backbit them, they would give him [i.e. the back bitter] a gift. These are very beneficial remedies for envy. [An Excerpt from ‘Mukhtasar Minhaajil Qaasideen’ page: 199-201. slightly paraphrased]