Also, the sihr which intends to kill or separate between a husband and his wife or between two friends, is unlawful to learn or use. Even the sihr which has purposes other than those stated above should not be learnt nor used. In addition, charlatanism, magic and the like must not be learnt because they are part of falsehood; even if they are used as a means of entertainment." This is a sound view which should be relied on as far as learning sihr is concerned.
WARNING AGAINST GOING TO A MAGICIAN
Having understood that witches are Kafirs, and that the punishment for witchcraft in Islam is beheading with the sword. We are going to explain that Islam forbids the Muslim to go to witches. In the Musnad of Al-Bazzar it is narrated with a Hasan Isnad that Ibn 'Abbas said: The Messenger of Allah (Peace and Blessing upon Him) said: "He is not one of us who observes bird omens or has that done for him, who tells fortunes or has his fortune told, who does witchcraft or has witchcraft done for him. Whoever goes to a fortuneteller and believes what he says has disbelieved in that which was revealed to Muhammad (Peace and Blessing upon Him)."
In Sahih Al-Bukhari and Sahih Muslim, it is narrated from Abu Hurayrah that the Messenger of Allah (Peace and Blessing upon Him) said: "Avoid the seven (sins) that doom a person to Hell." They said: "O Messenger of Allah, what are they?" He (Peace and Blessing upon Him) said: "Associating others with Allah (Shirk), witchcraft, killing a soul whom Allah has forbidden killing, except in cases required by Islamic law, consuming Riba, consuming the orphan's wealth, running away from the battlefield, and slandering chaste and innocent believing women." And he (Peace and Blessing upon Him) said: "Whoever goes to a fortune teller and believes what he says has nothing to do with what Allah revealed to Muhammad (Peace and Blessing upon Him), and whoever goes to him and does not believe him, his prayers will not be accepted for forty days."
A person may say: I am not going to cause harm to anyone, rather I am going to undo witchcraft that was done to me, or for healing, and other such excuses. We say to him: You are like one who seeks relief from the desert heat by throwing himself into the fire. The jinn often rebel against the witch and cause him sicknesses for which he can find no remedy.