Question(40):
What is the legal judgment regarding magic and its learning?
Answer:
Learning magic is forbidden. Rather it is Kufr (unbelief) if it is attained by means of seeking help from the devils. Allaah, The Most Blessed, The Most High, Says:
So, learning this kind of magic, and which is accomplished by way of seeking help from the devils, is disbelief (Kufr). Its practice is also Kufr and transgression against creation. And for this reason, the magician is to be killed either due to Riddah (apostasy), or as a legal punishment. If his magic is such that he would become an unbeliever by way of it, then he should be killed for his apostasy and unbelief. If, however, his
magic does not reach the level of unbelief, then he should be killed by virtue of legal punishment in order to repel his evil and harm from the Muslims.