Learning Black Magic for What Is Thought to Be a Good Purpose
Question: learning black magic for evil purposes is haram. But my question is, if a person learns it for what is thought to be something good, would learning and teaching it still be haram? What is the ruling on that, is it haram? Please answer my question, for I do not practice magic, but I do not want to speak without knowledge. I want to know: is learning black magic under any circumstance haram or not? And in both cases (for evil or for what is thought to be good), is it disbelief or not?
Summary:
• Learning black magic or any form of it is absolutely haram, whether for evil or for what one imagines to be good. • Learning magic that involves acts of shirk—such as using talismans or calling on jinn— is major disbelief that removes a person from Islam. • A Muslim must never approach books of magic, gatherings of magicians, or any form of teaching it. • Lawful ruqyah and healing with the Qur’an are not magic.
Answer:
In the name of Allah, all praise is due to Allah, and may Peace and Blessings be upon the Messenger of Allah (ﷺ)
This question is among the most dangerous, because the subject of magic is one of disbelief, misguidance, and destruction. It is not permissible for a Muslim to approach it in any form neither learning, practicing, experimenting with it, nor reading books about it whether the intention is evil or what one imagines to be good. The Shariah has prohibited it absolutely, as will be shown with evidence.
Allah the Exalted called magic disbelief explicitly in the Qur’an, and He did not distinguish between “evil magic” and “magic thought to be good.”
First: Evidence from the Qur’an on the Absolute Prohibition of Magic
From the Qur'an:
- al-Baqarah: 102
"...The two angels never taught anyone without saying, “We are only a test ˹for you˺, so do not abandon ˹your˺ faith...”
This is a clear, explicit text showing that learning magic is disbelief, which is why the two angels warned saying, “So do not disbelieve.”
- Al-Baqarah: 102
"... rather the devils disbelieved. They taught magic to the people..."
Here, Allah made teaching magic an act of the devils and called it disbelief. The verse is general and includes every form of magic.
Second: Evidence from the Sunnah The Prophet ﷺ said:
From the Sunnah:
- Ṣaḥīḥ al-Bukhārī: 2766, Ṣaḥīḥ Muslim: 89Narrated by Abū Hurayrah (may Allah be pleased with him):
"The Prophet (ﷺ) said, "Avoid the seven great destructive sins." The people enquire, "O Allah's Messenger (ﷺ)! What are they? "He said, "To join others in worship along with Allah, to practice sorcery..."
The Prophet ﷺ counted magic among the deadly sins that lead a person to the Fire.
From the Salaf:
- Imam Malik رحمه الله said:
“The sorcerer is a disbeliever who is to be executed if his practice of magic is proven, and he is not asked to repent.”
- Imam Ahmad رحمه الله said:
“Learning and teaching magic is disbelief.”
- Abu Hanifah رحمه الله said:
“The sorcerer becomes a disbeliever by merely learning magic, even if he does not practice it.”
From the Scholars:
- Ibn Taymiyyah رحمه الله said:
“Some types of magic are disbelief by agreement of the Muslims, and some are lesser than that, but learning the fundamentals or teachings of magic is never permissible, because it can only be known through paths of polytheism.”
Is It Permissible to Learn Magic for a ‘Good’ Purpose? The answer: It is absolutely not permissible. Reasons: 1. The Shariah prohibited learning it absolutely and did not allow intention to affect the ruling. Magic opens a door that only leads through the devils, and a good intention does not make a forbidden means permissible. The scholars said: “The end does not justify the means” in the Shariah. 2. The pathways of magic are not opened except through disbelief or grave sins, such as sacrificing to others besides Allah, invoking the jinn, writing talismans, or seeking help from devils. 3. Everyone who learns magic falls under Allah’s saying: enter ayah thus, learning from them was disbelief, even if someone claims it was “for good.” 4. The scholars unanimously agreed there is no such thing as “good magic.” This is a false label, for all magic is darkness and corruption. If something appears like healing, then it is not magic but lawful ruqyah (spiritual healing) if it is from the Qur’an. Does Learning Magic Always Constitute Disbelief? Detail: 1. Learning magic that cannot exist except through disbelief— such as invoking devils, using talismans of shirk, sacrificing to others besides Allah, or seeking help from the jinn this is major disbelief (kufr akbar) by consensus, as stated clearly in the Qur’an. 2. Learning what is called “tricks or illusions” or “sleight of hand” this is not the real magic defined in the Shariah. It is deception, not involving the jinn. Thus, it is not considered “magic” in the legal sense, though it may still be sinful if used to deceive.
From the Scholars:
- Ibn Kathir رحمه الله said regarding Allah’s saying, ﴿فَلَا تَكْفُرْ﴾:
“This is an explicit text that learning magic is disbelief.”
- Ibn Hajar رحمه الله said:
“Learning and teaching magic are prohibited by consensus, and they are among the deadly major sins.”
And Allah knows best.
← Back to Questions