Are bad thoughts haram, or merely acting on them

Answered by Shaykh Faraz Rabbani

Question:

Is it haram in Islam to have homosexual thoughts (i.e.. lust beyond whispering of shaitan) or is it only sinful if you act upon those thoughts (i.e. sodomy)?

Answer:

In the Name of Allah, Most Gracious, Most Merciful

Walaikum assalam,

Ibn Abbas (Allah be pleased with them) reports that our Beloved Prophet Muhammad (Allah bless him & give him peace) reported from Allah Most High that,

“Verily, Allah has written the good and the bad, and then explained it. So whoever inclines to perform a good deed but does not perform it, Allah writes it for him as a complete good deed. Then, if he inclined towards it and actually performs it, Allah writes it for him as ten good deeds to seven hundred times, to many times over. And if he inclines towards a bad deed but does not perform it, Allah writes it for him as a complete good deed. If he inclined towards it and then performed it, Allah writes it as one bad deed.” [Bukhari, 6010 & Muslim, 187]

Imam Zayn al-Din Ibn Nujaym, a leading 10th Century Hijri authority in Hanafi fiqh,  explained in his al-Ashbah wa al-Nadha’ir, a work on important legal principles, maxims, and legal discussions, that:

“The mere whisperings of the soul are not punished, unless one speaks or acts on them, as mentioned in the hadith in [Sahih] Muslim. The summary of what the scholars have discussed on this is that the thoughts of sin or good works that occur to the soul are of five levels:

1. The notion (hajis), which is that which occurs to it;

2. The thought (khatir), which is the notion going through it;

3. The whisperings of the soul (hadith al-nafs), which is the uncertainty is has as to whether to do something or not;

4. Inclination ( hamm ), which is to lean towards doing something;

5. Determination (`azm).

There is scholarly consensus that mere notions are not punished, for they are not from one’s actions…

As for thoughts and whisperings of the soul, even though one could avoid them by negating the notion as soon as it occurs, they are, however, not taken to account because of the authentic hadiths related to them… 

As for inclination, it has been explained in the authentic hadiths that inclining towards a good dead leads to a good dead being written for one, though if one [merely] inclines to a bad deed this is not written…

As for determination, the scholars of verification hold that it is taken into account…

It is mentioned in al-Bazzaziyya [a leading Hanafi reference for legal verdicts] that,

“If one inclined towards committing sin, this is not sinful, unless one fixed one’s determination on doing so. If one determined to do, one sins, but not the [complete] sin of the actual action…” [Ibn Nujaym, al-Ashbah wa’l Nadha’ir]

This corresponds to what Hafidh Ibn Hajar al-Asqalani (Allah have mercy on him) explained in his Fath al-Bari, commenting upon the abovementioned hadith of Ibn Abbas (Allah be pleased with him and his father). He also stated that this was the position of the brilliant theologian Baqillani, and that Qadi Iyad remarked that this was the position of the majority of the early Muslims and of the scholars.

And Allah alone gives success.

Wassalam,
Faraz Rabbani

   

الأشباه: 377 - وَمِنْهَا حَدِيثُ النَّفْسِ لَا يُؤَاخَذُ بِهِ 378 - مَا لَمْ تَتَكَلَّمْ , أَوْ تَعْمَلْ بِهِ  كَمَا فِي حَدِيثِ مُسْلِمٍ , وَحَاصِلُ مَا قَالُوهُ أَنَّ الَّذِي يَقَعُ فِي النَّفْسِ مِنْ قَصْدِ الْمَعْصِيَةِ , أَوْ الطَّاعَةِ عَلَى خَمْسِ مَرَاتِبَ , الْهَاجِسُ , وَهُوَ مَا يُلْقَى فِيهَا 380 – ثُمَّ جَرَيَانُهُ فِيهَا , وَهُوَ الْخَاطِرُ , ثُمَّ حَدِيثُ النَّفْسِ , وَهُوَ مَا يَقَعُ فِيهَا مِنْ التَّرَدُّدِ هَلْ يَفْعَلُ , أَوْ لَا , ثُمَّ الْهَمُّ , وَهُوَ تَرْجِيحُ قَصْدِ الْفِعْلِ , ثُمَّ الْعَزْمُ , وَهُوَ قُوَّةُ ذَلِكَ الْقَصْدِ , وَالْجَزْمُ بِهِ , فَالْهَاجِسُ لَا يُؤَاخَذُ بِهِ إجْمَاعًا ; لِأَنَّهُ لَيْسَ مِنْ فِعْلِهِ , وَإِنَّمَا هُوَ شَيْءٌ وَرَدَ عَلَيْهِ لَا قُدْرَةَ لَهُ وَلَا صُنْعَ , وَالْخَاطِرُ وَاَلَّذِي بَعْدَهُ كَانَ قَادِرًا عَلَى دَفْعِهِ بِصَرْفِ الْهَاجِسِ أَوَّلَ وُرُودِهِ , وَلَكِنَّهُ هُوَ وَمَا بَعْدَهُ مِنْ حَدِيثِ النَّفْسِ 381 - مَرْفُوعَانِ بِالْحَدِيثِ الصَّحِيحِ , وَإِذَا ارْتَفَعَ حَدِيثُ النَّفْسِ ارْتَفَعَ  مَا قَبْلَهُ بِالطَّرِيقِ الْأَوْلَى وَهَذِهِ الثَّلَاثُ لَوْ كَانَتْ فِي الْحَسَنَاتِ لَمْ يُكْتَبْ بِهَا أَجْرٌ لِعَدَمِ الْقَصْدِ , وَأَمَّا الْهَمُّ فَقَدْ بُيِّنَ فِي الْحَدِيثِ الصَّحِيحِ 382 - أَنَّ الْهَمَّ بِالْحَسَنَةِ يُكْتَبُ حَسَنَةً 383 - وَأَنَّ الْهَمَّ بِالسَّيِّئَةِ لَا يُكْتَبُ سَيِّئَةً , وَيُنْظَرُ , فَإِنْ تَرَكَهَا لِلَّهِ تَعَالَى كُتِبَتْ حَسَنَةً , وَإِنْ فَعَلَهَا كُتِبَتْ سَيِّئَةً وَاحِدَةً 384 - , وَالْأَصَحُّ فِي مَعْنَاهُ أَنَّهُ يُكْتَبُ عَلَيْهِ الْفِعْلُ وَحْدَهُ , وَهُوَ مَعْنَى قَوْلِهِ : وَاحِدَةً , وَأَمَّا الْهَمُّ فَمَرْفُوعٌ  وَأَمَّا الْعَزْمُ فَالْمُحَقِّقُونَ عَلَى أَنَّهُ يُؤَاخَذُ بِهِ 386 - وَمِنْهُمْ مَنْ جَعَلَهُ مِنْ الْهَمِّ الْمَرْفُوعِ , وَفِي الْبَزَّازِيَّةِ مِنْ كِتَابِ الْكَرَاهِيَةِ : هَمَّ بِمَعْصِيَةٍ لَا يَأْثَمُ إنْ لَمْ يُصَمِّمْ عَزَمَهُ عَلَيْهِ , وَإِنْ عَزَمَ يَأْثَمُ إثْمَ الْعَزْمِ لَا إثْمَ الْعَمَلِ بِالْجَوَارِحِ , إلَّا أَنْ يَكُونَ أَمْرًا يَتِمُّ بِمُجَرَّدِ الْعَزْمِ كَالْكُفْرِ . عَنْ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُمَا عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِيمَا يَرْوِي عَنْ رَبِّهِ عَزَّ وَجَلَّ قَالَ قَالَ إِنَّ اللَّهَ كَتَبَ الْحَسَنَاتِ وَالسَّيِّئَاتِ ثُمَّ بَيَّنَ ذَلِكَ فَمَنْ هَمَّ بِحَسَنَةٍ فَلَمْ يَعْمَلْهَا كَتَبَهَا اللَّهُ لَهُ عِنْدَهُ حَسَنَةً كَامِلَةً فَإِنْ هُوَ هَمَّ بِهَا فَعَمِلَهَا كَتَبَهَا اللَّهُ لَهُ عِنْدَهُ عَشْرَ حَسَنَاتٍ إِلَى سَبْعِ مِائَةِ ضِعْفٍ إِلَى أَضْعَافٍ كَثِيرَةٍ وَمَنْ هَمَّ بِسَيِّئَةٍ فَلَمْ يَعْمَلْهَا كَتَبَهَا اللَّهُ لَهُ عِنْدَهُ حَسَنَةً كَامِلَةً فَإِنْ هُوَ هَمَّ بِهَا فَعَمِلَهَا كَتَبَهَا اللَّهُ لَهُ سَيِّئَةً وَاحِدَةً  [البخاري: 6010 ، مسلم 187] قال الحافظ في الفتح: وهذا يدل على أن تضعيف حسنة العمل إلى عشرة مجزوم به وما زاد عليها جائز وقوعه بحسب الزيادة في الإخلاص وصدق العزم وحضور القلب وتعدي النفع كالصدقة الجارية والعلم النافع والسنة الحسنة وشرف العمل ونحو ذلك , ...فتحمل الحالة الأولى على من هم بالمعصية هما مجردا من غير تصميم , والحالة الثانية على من صمم على ذلك وأصر عليه . وهو موافق لما ذهب إليه الباقلاني وغيره ; قال المازري : ذهب ابن الباقلاني يعني ومن تبعه إلى أن من عزم على المعصية بقلبه ووطن عليها نفسه أنه يأثم , وجمل الأحاديث الواردة في العفو عمن هم بسيئة ولم يعملها على الخاطر الذي يمر بالقلب ولا يستقر . ... عياض بأن عامة السلف وأهل العلم على ما قال ابن الباقلاني لاتفاقهم على المؤاخذة بأعمال القلوب , لكنهم قالوا : إن العزم على السيئة يكتب سيئة مجردة لا السيئة التي هم أن يعملها , كمن يأمر بتحصيل معصية ثم لا يفعلها بعد حصولها فإنه يأثم بالأمر المذكور لا بالمعصية ومما يدل على ذلك حديث " إذا التقى المسلمان بسيفهما فالمقابل والمقتول في النار , قيل هذا القاتل فما بال المقتول ؟ قال : إنه كان حريصا على قتل صاحبه "....والذي يظهر أنه من هذا الجنس وهو أنه يعاقب على عزمه بمقدار ما يستحقه ولا عاقب عقاب من باشر القتل خسا .

 

MMVIII © Faraz Rabbani and Qibla.
All rights reserved
No part of this article may be reproduced, displayed, modified, or distributed without the express prior written permission of both copyright holders. For permission, please submit a request at our Helpdesk.

Now What?

The Messenger of Allah, peace and blessings be upon him, said, "Knowledge is only through study." While some knowledge can be gained from reading or casually listening to lectures, the best means to gain knowledge is through finding a qualified teacher and then setting up a systematic program of learning. Picking up a book or reading an article and trying to figure things out on our own is no substitute for learning from someone who has a direct link to our living tradition.

Through joining an online class at Qibla, you can benefit from convenient, online courses that will give you access to reliable scholars and our popular curriculum learning tracks. Knowledge gained in these courses will both build your iman and assist you in putting into practice what you learn. Don't give yourself less than you deserve, register today.

Related Links:

  1. Why you'll love our courses
  2. How SunniPath courses work (video)
  3. What our students say
  4. Our current available courses