Shaykh Ṣāliḥ ibn Fawzān al-Fawzān:
The remedy for envy is that you supplicate blessing for your brother. Supplicate blessing for your brother. Instead of wishing that the blessing be removed from him, supplicate for it to remain and that Allah ﷻ places blessing in it. This will not harm you, rather this will benefit you with Allah ﷻ. So cure envy with the likes of these matters.
Likewise, that which cures envy is that you seek sustenance and perform the means of acquiring it, but for you to sit pathetically and idle, whilst envying those who earn and seek sustenance, and being envious of what Allāh ﷻ gave them, then [only] you are to blame.
You are the one who fell short, you are the one who abandoned the avenues of acquiring and was lazy. You ought to blame yourself instead of envying people for what Allah ﷻ has given them from His bounty. Therefore – O’ servants of Allah, envy leads to disbelief just as it led Iblīs. It [may] lead to murder, just as it led Hābil [the son of Adam] to murder his brother Qābil. Indeed Allāh conveys this story to us so that we may take a lesson from it, and also take heed and be cautious of envy.
Envy leads towards objecting to what Allah has decreed and predestined, [which necessitates] that Allah is not Ḥakīm all-Wise and not fully informed and not All-Knowing, rather He gives to those undeserving or He punishes those undeserving of punishment. This is disbelief in the pre-decree, therefore envy is a disastrous evil disease, so seek refuge in Allah from envy. Envy – as it has been reported in a ḥadīth narrated by Aḥmad and at-Tirmidhī: “Envy consumes good deeds similar to how fire consumes firewood” So be cautious O’ servants of Allāh!! Be cautious of your good deeds and righteous actions being burnt due to envy.
Seek refuge in Allah from envy and ask Allah of His bounty, love for your brothers good, love for your brothers good, supplicate for blessings to be bestowed upon them, Allah is Ever-Generous and All-Knowing. In His Hand is great bounty which He gives to whom He wills. So do not show objection towards Allah and thus render your actions null and void without realising, be cautious of envy.