[2] The Envy in all other cases is...
[2] The Envy in all other cases is, however, forbidden due to its harm to the society. The envious one would be punished by Allah -azwj , as envy would eradicate his good deeds, but the performer of the magic/witchcraft become ‘kafir’ straight away.
For envy, see, for example some Ahadith: روي عن أبي عبد الله ع أنه قال العين حق و ليس تأمنها منك على نفسك و لا منك على غيرك فإذا خفت شيئا من ذلك فقل It has been reported from Abu Abdullah -asws that he -asws said: ‘The (evil) eye is truth, and do not consider yourselves to be safe from it, nor from yourselves to others if you feared something from that’, so recite: ما شاءَ اللَّهُ لا قُوَّةَ إِلَّا بِاللَّهِ العلي العظيم (ثلاثا) ‘Allah -azwj Does what He -azwj so Desires.
Ali Bin Ibrahim, from his father, from Al Nowfaly, from Al Sakuny, (It has been narrated) from Abu Abdullah -asws having said: ‘Rasool-Allah -saww said: ‘The Muslim sorcerer would be killed, and the Infidel sorcerer would not be killed’. It was said, ‘O Rasool-Allah -saww ! And why would the Infidel sorcerer not be killed?’ He -saww said: ‘Because the infidelity is more grievous than the sorcery, and because the sorcery and the Polytheism are pairs’.
Be merciful to the one who is lower than you -as among the creatures, and do not become jealous of the one who is above you -as , for the jealousy consumes the good deeds just like the fire consumes the firewood (an extract from a long Hadith).