Q8
Is doubting a sin? I keep having blasphemous thoughts.
The question, at its strongest
"A terrible thought about God comes into my head — an insult, a doubt, an image I would never choose. I try to push it away and it comes back stronger. I wash again for prayer because I'm not sure I did it right, and then again. I'm afraid that having these thoughts means I am not really a believer, or that I have already left Islam without meaning to. A real Muslim wouldn't think like this. Would he?"
Why people ask it
Unwanted, intrusive thoughts are very common, and in religious people they often attach to the things they care about most. Many people suffer in silence for years because they are ashamed to say what the thoughts are, and because they think the thoughts themselves are sins.
Short answer
Unwanted thoughts are not beliefs, and you are not held to account for them. The Prophet (pbuh) said that God has forgiven his community what occurs in their minds as long as they do not act on it or speak it (Bukhārī 5269 Ṣaḥīḥ (sound); Muslim 127a Ṣaḥīḥ (sound)). When his Companions told him they had thoughts too terrible to say aloud, he called their distress "the faith manifest" (Muslim 132a Ṣaḥīḥ (sound)). Jurists taught people troubled by misgivings not to dwell on them, because "certainty is not lifted by a doubt" (Ibn Nujaym, via Rabbani). If the thoughts come in loops that you feel you must neutralise — by repeating, checking or seeking reassurance — this may be scrupulosity, a form of obsessive-compulsive disorder (OCD). It is treatable, and the main treatment fits closely with what the jurists advised. Honest intellectual doubt is different: it is a question to think through, not a thought to push away.
The full answer
8min read
For the heart and mind
The fact that the thought horrifies you is the clearest sign of what you actually believe. A person who has stopped believing is not tormented by a thought that insults God. The torment comes from the love.
You do not have to argue with the thought, answer it, or prove to yourself that you don't believe it. Trying to win that argument is what keeps it going. You can let it be there, the way you let a car alarm in the street be there, and carry on with what you were doing.
You are not alone, and you are not uniquely bad. Awad cites an international study (Radomsky et al., 2014) estimating that "about 94% of the human population worldwide experience intrusive thoughts"; the study's own sample has not yet been checked. What differs is how much they stick.
If you are in distress right now: speak to someone you trust today. In North America, Naseeha (1-866-627-3342) is a confidential Muslim helpline; in the UK, the Muslim Youth Helpline and Samaritans (116 123); in Türkiye, call 112 in an emergency; elsewhere, findahelpline.com lists free services by country. If you ever have thoughts of harming yourself, call your local emergency number.
What the Quran says
God does not burden a soul beyond its capacity. "Allah does not charge a soul except [with that within] its capacity… Our Lord, do not impose blame upon us if we have forgotten or erred… and burden us not with that which we have no ability to bear" (2:286). This is the closing verse of Sura al-Baqara (Medinan), a prayer the believers are taught to say. A thought that comes against your will is not within your choosing, and the verse says you are charged only with what is.
The Quran names a "whisperer". The last sura asks refuge "From the evil of the retreating whisperer — Who whispers [evil] into the breasts of mankind" (114:4–5). The word for whispering is waswās. In Muslim belief, some unwanted thoughts are attributed to this whispering (Awad cites 20:120, where Satan whispers to Adam). The verse teaches a response: seeking refuge in God, not arguing with the whisper. Reading it as a description of OCD is a modern application; the verse itself does not describe a mental illness.
What the Prophet (pbuh) taught
Thoughts are forgiven unless acted on or spoken. The Prophet (pbuh) said: "Allah has forgiven my followers the evil thoughts that occur to their minds, as long as such thoughts are not put into action or uttered" (Bukhārī 5269 Ṣaḥīḥ (sound), narrated by Abu Hurayra). The narrator Qatada drew a legal conclusion from it: a divorce pronounced only in the mind has no effect. Sahih Muslim has the same teaching: "Verily Allah forgave my people the evil promptings which arise within their hearts as long as they did not speak about them or did not act upon them" (Muslim 127a Ṣaḥīḥ (sound)).
The Companions had these thoughts too. Abu Hurayra (ra) reports that some Companions came to the Prophet (pbuh) and said: "Verily we perceive in our minds that which every one of us considers it too grave to express." He asked: "Do you really perceive it?" They said yes. He said: "That is the faith manifest" (Muslim 132a Ṣaḥīḥ (sound)). The Companions (ṣaḥāba) are the people who knew the Prophet (pbuh) and believed in him; Bukhari and Muslim are the two collections of hadith that Sunni Muslims regard as most reliable. The point of this report is that the Companions — the generation Muslims regard as the best — had the very experience you are having, and the Prophet (pbuh) did not treat it as unbelief.
The law: what the four schools hold
Certainty is not removed by doubt. A basic maxim of Islamic law is: "Certainty is not lifted by a doubt." Rabbani attributes it to the Hanafi jurist Ibn Nujaym (d. 1563) in al-Ashbāh wa-l-Naẓāʾir and to the Ottoman civil code, the Majalla. It means: if you know you made ablution, a doubt about whether you broke it does not count. Rabbani adds that "mere doubts and suppositions are of no legal consequence", and that until you are certain a prayer was invalid, "you do not have any prayers to make up."
Following misgivings is itself blameworthy. Rabbani, summarising Ibn ʿAbidin, the leading late Hanafi authority (no work named), writes that following misgivings is "highly blameworthy in the Shariah: it is from the Shaytan." In other words, the law does not reward the extra checking; it discourages it.
The other schools. The Maliki, Shafiʿi and Hanbali positions on waswasa have not yet been consulted in their own works.
What science says
Scrupulosity is a recognised form of OCD. Established (.) The International OCD Foundation's packet for faith leaders describes scrupulosity as OCD centred on religious or moral concerns: people are "overly concerned that something they thought or did might be a sin." It distinguishes it from a tender conscience: such a person can "find comfort when advised by a religious leader", whereas people with scrupulosity "cannot have their fear or concern resolved by competent explanation."
How common it is. [Moderate.] İnözü, Keser and Karancı (2017) summarise Western studies as finding scrupulosity in "between 10.0% and 33.0% of patients diagnosed with OCD" — that is, a percentage of people who already have OCD, not of the general population — and note that "this rate can vary across different cultures".
Waswasa and OCD. Awad (Yaqeen) writes: "Waswasah is not a Muslim disease — it is a religious presentation of OCD in Muslims", and notes that scrupulosity is "found in all religions".
Exposure and response prevention (ERP). Established (as the main psychological treatment.) The IOCDF packet calls ERP the most important form of cognitive behavioural therapy for OCD. Exposure means the person "systematically confronts the thoughts, images, objects, and situations that cause anxiety"; response prevention means choosing not to perform the compulsion (re-washing, re-praying, asking for reassurance), so that the anxiety falls by itself — "the decrease in anxiety with nothing but the passage of time" (IOCDF packet). Awad calls ERP "compatible with the Islamic approach" and says "the Islamic advice to ignore the obsession and resist the compulsion is the layperson's form of ERP." She also reports that about 25% of people drop out of ERP and a further 5–22% refuse it (Twohig et al., 2010), so it is not easy — which is why it is best done with a therapist.
The reasoning
They feel similar, but they behave differently. Al-Ghazali's doubt (see "How do I rebuild faith after a crisis of doubt?") was an inquiry: he asked how we know anything, followed the question for two months, and came out with an answer. That kind of doubt is helped by thinking, reading and talking with someone knowledgeable. A compulsive thought is different:
- It comes against your will and feels alien, even disgusting, to you.
- Answering it brings relief for minutes, then it returns, often stronger.
- It fixes on certainty: you cannot rest until you are sure, and you never are.
- It drives rituals: repeating ablution or prayer, mentally reviewing, asking others again and again.
A rule of thumb. If a good answer from a knowledgeable person settles the question for a long time, it was a question. If no answer ever settles it, and you find yourself asking the same thing again, it is probably the compulsion — and the remedy is not another answer, but less answering. Limit: only a qualified clinician can diagnose OCD, and some people have both real questions and compulsive doubts at once.
"If part of me half-agrees with the thought, is it still unchosen?" That "half-agreeing" feeling is very common in OCD; the mind asks "what if I actually believe this?", and the question feels like evidence. The hadith set the line at acting on the thought or speaking it, not at how it feels (Bukhārī 5269 Ṣaḥīḥ (sound)). If you are unsure, the jurists' maxim applies: you were a believer with certainty, and a doubt does not remove it.
The strongest objection, and the reply
"Calling it OCD is a way to avoid real questions." Reply: the distinction above keeps real questions open: they deserve answers, and this site tries to give them. What it rejects is treating a compulsion as if it were a question. Limit: a person may use the OCD label to avoid a real question, and a good therapist or scholar will notice.
"Satan's whispering is a spiritual matter; therapy is secular." Reply: the Islamic remedy and the clinical one point the same way: don't engage the whisper, don't repeat the act (Rabbani; Awad). Awad argues that a therapist "will likely need to defer to and coordinate with a person of Islamic knowledge", and that the imam should teach principles such as "doubt can not negate certainty" rather than answer repeated questions. Limit: not every therapist understands religious clients; look for one who does (Khalil Center in North America, the Muslim Mental Health directory, or ask the IOCDF for providers experienced with scrupulosity).
Practical steps for the moment it happens
- Name it. "This is a whisper / an intrusive thought. It is not me and it is not my belief."
- Say a short refuge and move on. For example, the words of 114:1, "I seek refuge in the Lord of mankind" — once, not repeatedly.
- Do not repeat the act. If you finished the prayer, it stands unless you are certain it was invalid: until then "you do not have any prayers to make up" (Rabbani). The same principle applies, by illustration, to ablution: if you know you made it, a doubt does not undo it.
- Do not ask for reassurance. Each "are you sure I'm still Muslim?" brings relief and feeds the loop (IOCDF packet).
- Let the anxiety rise and fall. It will fall by itself if you do not feed it.
- Choose one teacher. Bring your questions to one knowledgeable person rather than to many people whenever the urge comes (the IOCDF packet suggests seeking "religious counsel from a single faith leader or confessor").
- See a clinician if this takes up a lot of your day, stops you praying, or makes you dread worship. (Clinicians use a time threshold — more than an hour a day — among the signs of OCD; that criterion has not yet been checked in a source.)
Questions readers ask next
What exactly does Muslim 132 say?
Companions said: "we perceive in our minds that which every one of us considers it too grave to express." The Prophet (pbuh) asked, "Do you really perceive it?" and said, "That is the faith manifest."
How do I tell real doubt from a compulsive thought?
A real question is settled, at least for a while, by a good answer. A compulsion returns no matter what answer you get, and drives you to check and repeat.
What is waswasa?
Arabic waswasa, "whispering" (Turkish vesvese). In the Quran it is the whispering of the "retreating whisperer" (114:4–5); in everyday Muslim speech it also means obsessive doubts about worship.
What is exposure and response prevention?
A therapy in which you face the trigger and deliberately do not perform the compulsion, so the anxiety fades on its own.
Who are the Companions, and what are Bukhari and Muslim?
The Companions are the people who knew the Prophet (pbuh) and believed in him. Bukhari (d. 870) and Muslim (d. 875) compiled the two most trusted hadith collections.
Did I leave Islam because of a thought?
No. In the hadith, thoughts are forgiven unless acted on or spoken (Bukhārī 5269 Ṣaḥīḥ (sound)), and a doubt does not remove certainty (Ibn Nujaym).
Key verses
لَا يُكَلِّفُ ٱللَّهُ نَفْسًا إِلَّا وُسْعَهَا ۚ لَهَا مَا كَسَبَتْ وَعَلَيْهَا مَا ٱكْتَسَبَتْ ۗ رَبَّنَا لَا تُؤَاخِذْنَآ إِن نَّسِينَآ أَوْ أَخْطَأْنَا ۚ رَبَّنَا وَلَا تَحْمِلْ عَلَيْنَآ إِصْرًا كَمَا حَمَلْتَهُۥ عَلَى ٱلَّذِينَ مِن قَبْلِنَا ۚ رَبَّنَا وَلَا تُحَمِّلْنَا مَا لَا طَاقَةَ لَنَا بِهِۦ ۖ وَٱعْفُ عَنَّا وَٱغْفِرْ لَنَا وَٱرْحَمْنَآ ۚ أَنتَ مَوْلَىٰنَا فَٱنصُرْنَا عَلَى ٱلْقَوْمِ ٱلْكَٰفِرِينَ٢٨٦
Transliteration: lā yukallifu l-lahu nafsan illā wus'ʿahā lahā mā kasabat waʿalayhā mā ik'tasabat rabbanā lā tuākhidh'nā in nasīnā aw akhṭanā rabbanā walā taḥmil ʿalaynā iṣ'ran kamā ḥamaltahu ʿalā alladhīna min qablinā rabbanā walā tuḥammil'nā mā lā ṭāqata lanā bihi wa-uʿ'fu ʿannā wa-igh'fir lanā wa-ir'ḥamnā anta mawlānā fa-unṣur'nā ʿalā l-qawmi l-kāfirīna
Allah does not charge a soul except [with that within] its capacity. It will have [the consequence of] what [good] it has gained, and it will bear [the consequence of] what [evil] it has earned. "Our Lord, do not impose blame upon us if we have forgotten or erred. Our Lord, and lay not upon us a burden like that which You laid upon those before us. Our Lord, and burden us not with that which we have no ability to bear. And pardon us; and forgive us; and have mercy upon us. You are our protector, so give us victory over the disbelieving people."
Translation: Saheeh International
Sources
- Saheeh International, via the Tanzil text — 2:286.
- Saheeh International via legacy.quran.com — 114:1–5.
- Sahih Muslim 132a (sunnah.com), https://sunnah.com/muslim:132.
- Sahih Muslim 127a (sunnah.com), https://sunnah.com/muslim:127.
- Sahih al-Bukhari 5269 (sunnah.com), https://sunnah.com/bukhari:5269.
- Najwa Awad, "Clinicians, Imams, and the Whisperings of Satan", Yaqeen Institute (19 July 2017; updated 22 July 2024), https://yaqeeninstitute.org/read/paper/clinicians-imams-and-the-whisperings-of-satan.
- Faraz Rabbani, "Key Principles Relating to Certainty, Doubt, and Baseless Misgivings (waswasa)", SeekersGuidance, https://seekersguidance.org/answers/hanafi-fiqh/key-principles-relating-to-certainty-doubt-and-baseless-misgivings-waswasa/.
- Scrupulosity and OCD: Information Packet for Faith Leaders (International OCD Foundation, ADAA, AnxietyCanada; undated), https://iocdf.org/wp-content/uploads/2022/04/Clergy-Packet.pdf.
- M. İnözü, E. Keser and A. N. Karancı, "The Examination of the Psychometric Properties of the Turkish Form of the Penn Inventory of Scrupulosity", Turkish Journal of Psychiatry (2017), doi 10.5080/u14879, https://www.turkpsikiyatri.com/PDF/C28S4/en/07.pdf.
- W. Montgomery Watt (trans.), al-Ghazali, al-Munqidh min al-Dalal, https://www.ghazali.org/works/watt3.htm.
- Ṣaḥīḥ Muslim 127, 132; Ṣaḥīḥ al-Bukhārī 5269
- Yaqeen Institute — "Clinicians, Imams, and the Whisperings of Satan"
- "Scrupulosity and Islam: a perspective"
- "From Doubt to Direction" (PMC)
- ClinicalTrials.gov — NCT07872462