This website is under review. Do not rely on it for final rulings.
Machine translation
Question
What is the ruling on learning the science of letters (ilm al-harf), al-jafr, and reading books of magic, merely for the sake of reading them, just to become acquainted with this knowledge, in order to repel it, to understand what the sorcerer does to the afflicted person, and the power of sorcery, for the one who treats by Quran and lawful ruqyah?.
Answer
All praise is due to Allah, and may peace and blessings be upon the Messenger of Allah, and upon his family and companions. To proceed:
Some scholars have held that this is permissible, so long as it serves a valid purpose and a recognised benefit! The preponderant view held by the majority of scholars is that learning these false sciences is not permissible, even for the purpose mentioned in the question or other valid purposes. Among those who differed on this is al-Razi in his tafsir, who held that knowledge of magic is neither ugly nor prohibited! His words were quoted by al-Hafiz Ibn Kathir in his tafsir, at the words of Allah the Exalted:ولكِنَّ الشَّيَاطِينَ كَفَرُوا يُعَلِّمُونَ النَّاسَ السِّحْرَ وَمَا أُنْزِلَ عَلَى الْمَلَكَيْنِ بِبَابِلَ هَارُوتَ وَمَارُوتَ وَمَا يُعَلِّمَانِ مِنْ أَحَدٍ حَتَّى يَقُولَا إِنَّمَا نَحْنُ فِتْنَةٌ فَلَا تَكْفُرْ فَيَتَعَلَّمُونَ مِنْهُمَا مَا يُفَرِّقُونَ بِهِ بَيْنَ الْمَرْءِ وَزَوْجِهِ وَمَا هُمْ بِضَارِّينَ بِهِ مِنْ أَحَدٍ إِلَّا بِإِذْنِ اللَّهِ وَيَتَعَلَّمُونَ مَا يَضُرُّهُمْ وَلَا يَنْفَعُهُمْ.. {Al-Baqarah: 102}.
He criticised him, saying: This statement is open to scrutiny in several respects. The first is his saying that knowledge of magic is not ugly. If he means it is not ugly intellectually, then his opponents among the Mu'tazilah deny this. If he means it is not ugly according to Shari'ah, then this noble verse denounces learning magic. In the Sahih: whoever goes to a soothsayer or a fortune-teller has disbelieved in what was revealed to Muhammad. In the Sunan: whoever ties a knot and blows into it has practised magic. As for his saying that it is not prohibited: how could it not be prohibited, given the verse and the hadith we have mentioned? End of quote.
Al-Hafiz Ibn Hajar said in Fath al-Bari: Some scholars permitted learning magic for one of two purposes: either to distinguish what contains disbelief from other things, or to remove it from one who has fallen into it. As for the first, there is no harm in it except regarding belief; if belief is sound, then knowing a thing by itself does not entail prohibition, like one who knows how the idolaters worship idols, because what the sorcerer does is only the recounting of a saying or action, unlike practising it and acting upon it. As for the second: if it cannot be accomplished, as some claim, except by some kind of disbelief or sin, then it is not permissible at all; otherwise it is permissible for the aforementioned purpose. End of quote. Al-Shinqiti quoted his words in Adwa al-Bayan and criticised them, saying: His statement goes against the verified position, since no one may permit what Allah has clearly stated harms and does not benefit, and since learning it may be a means to acting upon it, and means to what is forbidden must be blocked, as we have mentioned before. End of quote. See the fatwa:18482. May Allah know best.
الحمد لله، والصلاة والسلام على رسول الله، وعلى آله وصحبه، أما بعد:
فقد ذهب بعض أهل العلم إلى جواز ذلك، ما دام لغرضٍ صحيحٍ، ونفعٍ معتبرٍ! والراجح الذي عليه جمهور أهل العلم أن تعلم هذه العلوم الباطلة، لا يجوز، ولو كان للغرض المذكور في السؤال، أو غيره من الأغراض الصحيحة، وممن خالف في ذلك الرازي في تفسيره، فذهب إلى أن العلم بالسحر، ليس بقبيحٍ، ولا محظورٍ! وقد نقل كلامه الحافظ ابن كثيرٍ في تفسيره، عند قول الله تعالى: ولكِنَّ الشَّيَاطِينَ كَفَرُوا يُعَلِّمُونَ النَّاسَ السِّحْرَ وَمَا أُنْزِلَ عَلَى الْمَلَكَيْنِ بِبَابِلَ هَارُوتَ وَمَارُوتَ وَمَا يُعَلِّمَانِ مِنْ أَحَدٍ حَتَّى يَقُولَا إِنَّمَا نَحْنُ فِتْنَةٌ فَلَا تَكْفُرْ فَيَتَعَلَّمُونَ مِنْهُمَا مَا يُفَرِّقُونَ بِهِ بَيْنَ الْمَرْءِ وَزَوْجِهِ وَمَا هُمْ بِضَارِّينَ بِهِ مِنْ أَحَدٍ إِلَّا بِإِذْنِ اللَّهِ وَيَتَعَلَّمُونَ مَا يَضُرُّهُمْ وَلَا يَنْفَعُهُمْ
وتعقبه، فقال: هذا الكلام فيه نظرٌ، من وجوهٍ، أحدها: قوله: العلم بالسحر، ليس بقبيحٍ ـ إن عنى به، ليس بقبيحٍ عقلاً، فمخالفوه من المعتزلة يمنعون هذا، وإن عنى: أنه ليس بقبيحٍ شرعاً، ففي هذه الآية الكريمة تبشيعٌ لتعلم السحر، وفي الصحيح: من أتى عرافاً، أو كاهناً، فقد كفر بما أنزل على محمد ـ وفي السنن: من عقد عقدةً، ونفث فيها، فقد سحر ـ وقوله: ولا محظور... كيف لا يكون محظوراً مع ما ذكرناه من الآية، والحديث .. اهـ.
وقال الحافظ ابن حجر في فتح الباري: أجاز بعض العلماء تعلم السحر لأحد أمرين: إما لتمييز ما فيه كفرٌ من غيره، وإما لإزالته عمن وقع فيه، فأما الأول: فلا محذور فيه، إلا من جهة الاعتقاد، فإذا سلم الاعتقاد، فمعرفة الشيء بمجرده لا تستلزم منعاً، كمن يعرف كيفية عبادة أهل الأوثان للأوثان، لأن كيفية ما يعمله الساحر، إنما هي حكاية قولٍ، أو فعلٍ، بخلاف تعاطيه، والعمل به، وأما الثاني: فإن كان لا يتم كما زعم بعضهم، إلا بنوعٍ من أنواع الكفر، أو الفسق، فلا يحل أصلاً، وإلا جاز للمعنى المذكور. اهـ. ونقل كلامه الشنقيطي في أضواء البيان، وتعقبه، فقال: قوله خلاف التحقيق، إذ ليس لأحدٍ أن يبيح ما صرح الله بأنه يضر، ولا ينفع، مع أن تعلمه قد يكون ذريعةً للعمل به، والذريعة إلى الحرام يجب سدها، كما قدمنا ... اهـ. وانظر الفتوى: 18482. والله أعلم.
More fatwas from our library on the same topic