Allaah the Most High said, regarding those who learn and practice magic:
وَلَقَدْ عَلِمُواْ لَمَنِ اشْتَرَاهُ مَا لَهُ فِي الآخِرَةِ مِنْ خَلاَقٍ
And indeed they knew that the buyers of it (magic) would have no share in the Hereafter. (al-Baqarah 2:102)
And the “buying, purchasing” mentioned in the verse, Shaykh Saalih Aal ash-Shaykh says in explanation of the verse, as occurs in his explanation of Kitab ut-Tawhid on the chapter on magic:
والساحر اشترى من تعلم السحر اشترى، اشترى أي شيء؟ اشترى السحر بدل أي شيء؟ بدل توحيده، فالثمن التوحيد، الثمن هو الإيمان بالله وحده، والمثمن هو السحر
And the magician he has purchased the learning of magic, he has purchased, purchased what thing? He has purchased magic in place of what thing? In place of Tawhid, so the price is Tawhid, the price is faith in Allaah alone, and the object (being bought) is magic… so it means the one who gave his religion as consideration (something of value) for that thing which he took, which is magic…
Since magic relies upon the agency of the Jinn (see here), then a man or woman does not become a magician up until the Jinn can verify that this person is eager to become one truthfully and practically, and that he desires to harm the people, and thus when an individual first starts making contact with the Jinn, they will require from him or her the following, as examples:
* To disbelieve in Allaah, through reviling Him, or transgressing against Him (such as in the manner described below)
* To abandon the prayer.
* To pray in the toilet area.
* To put the mus.haf (copy of the Qur’an) under his feet and to enter the toilet with it area, as a means of defiling and belittling it.
* To write the Qur’an with impurities such as menstrual blood or faeces as a means of belittling it.
* To commit incest.
* To remain alone in a dark room for forty days without coming into contact with water.
* To remain for a long time in janaabah (state of sexual impurity) without bathing.
* To remain in a dark room, or some deserted isolated place where the rebellious devils amongst the Jinn come and perform lewd acts with him or her.
Shaykh Saalih Aal ash-Shaykh also says in the same aforementioned chapter:
السحر بجميع أنواعه فيه استخدام للشياطين واستعانة بها، والشياطين لا تخدم إلا من تقرب إليها، تتقرب إليها بأي شيء؟ بالذبح يتقرب إليها بأي شيء؟ بالاستغاثة يتقرب إليها بالاستعاذة ونحو ذلك، يعني: يصرف إليها شيئا من أنواع العبادة، بل قد نظرت في بعض كتب السحر، فوجدت أن ساحرا – بحسب ما وصف ذلك الكاتب – لا يصل إلى حقيقة السحر وتخدمه الجن كما ينبغي حتى يهين القرآن، ويهين المصحف، وحتى يكفر بالله، ويسب الله – جل وعلا – ونبيه صلى الله عليه وسلم
Magic in all of its types contains the use of the devils and seeking aid from them. The devils do not serve except the one who seeks closeness to them. You seek closeness to them with what thing? With sacrifice (of something to them). He seeks closeness to them with what thing? With seeking aid. He seeks nearness to them through seeking refuge (in them) and so on. Meaning that he directs some of the worship (that is only due to Allaah alone) to them. And I have looked in some of the books of magic and I found that the magician – in accordance with what that autohr described – that he cannot arrive at true, real magic and the Jinn will not serve him as is desired until he belittles the Qur’an, or belittles the copy of the Quran (mus.haf) or until he disbelieves in Allaah, the Mighty and Majestic, and His Prophet (sallallaahu alayhi wasallam).