Feel Your Prayer Again
Guides › Waswas and unwanted thoughts in salah: what the scholars say, and when to get help

Guide

Waswas and unwanted thoughts in salah: what the scholars say, and when to get help


Waswas means whispering: unwanted thoughts that arrive without your choosing. The Prophet, peace be upon him, said that Allah has pardoned what people's souls whisper to them, so long as they do not act on it or speak of it (Sahih al-Bukhari 6664). If the thoughts are constant or cause you real distress, please see a teacher and a doctor.

If you are reading this, something has probably come into your mind during salah (or namaz) that horrified you. A thought about Allah, about faith, or something indecent, in the one place you least wanted it. You may be afraid of what it says about you.

This page tells you what the texts say, what we are not qualified to tell you, and where to go.

You are not the first to have bad thoughts during prayer

Some of the Companions came to the Prophet, peace be upon him, with exactly this. They said they found things in their minds that they considered too grave to speak of. He asked whether they really found that, and when they said yes, he said:

"That is the faith manifest."The Prophet, peace be upon him. Sahih Muslim 132a
Sahih Muslim 132a: That is the faith manifest. The Prophet, peace be upon him, to Companions troubled by unwanted thoughts.

The commentators explain that it was their horror at the thought that he called faith. A person who did not care would not be troubled.

In another report, a man said that he had thoughts he would rather be burned to charcoal than speak about. The Prophet, peace be upon him, said: "Allah is Most Great. Praise be to Allah, Who has reduced the guile of the devil to evil prompting" (Sunan Abi Dawud 5112, graded sahih by al-Albani).

Nobody in these reports was asked what the thoughts were. We will not describe such thoughts here either, whether people call them kufr thoughts, shirk thoughts or dirty thoughts.

Why do I get these thoughts?

The Qur'an names "the retreating whisperer, who whispers into the hearts of people" (al-Nas 114:4-5). The whisper is described as coming to a person.

Imam al-Ghazali, in the Ihya 'Ulum al-Din (the book on the marvels of the heart), discusses the passing thoughts that enter the heart and separates them from what a person chooses and resolves to do. Our own books make the same point in plain words: a passing, unwanted thought is different from an intention you choose and act on.

We cannot tell you why a particular thought comes to you. That would be a spiritual diagnosis, and we are not qualified to give one.

Is there a dua for waswas in salah?

The Qur'an's instruction is general: "If an evil suggestion comes to you from Satan, then seek refuge in Allah" (al-A'raf 7:200). The words of seeking refuge are A'udhu billahi min ash-shaytan ir-rajim, "I seek refuge in Allah from Satan, the rejected."

One report concerns prayer directly. A Companion complained of whispering that confused his prayer and recitation, and he was told to seek refuge in Allah and spit lightly to his left three times (Sahih Muslim 2203a). We are describing that report, not instructing you. Whether and how to do anything during the prayer is a matter to learn from a qualified teacher.

We cannot promise that any words will make the thoughts stop.

Can I ignore waswas in salah?

The reports above point one way: the thought is not held against you, and the Companions were not told to analyse it.

But "can I ignore it" often means something more specific. Did I say that letter properly? Did I make my intention? Should I repeat the verse, or the whole prayer? Those are legal questions about your prayer. We cannot answer them, and the schools (Hanafi, Shafi'i and the others) each have their own guidance for a person troubled by recurring doubts.

Take the question to one qualified teacher. Ask it once. Follow the answer.

One thing to try: do not argue, return

This is our own exercise. It is not a ruling, it is not treatment, and it adds nothing to the prayer itself.

Do not argue. Return.

  1. When the thought arrives, do not argue with it, examine it, or tell yourself what it says about you.
  2. Go back to the words of the prayer you are in.
  3. If you feel pulled to repeat a word or restart, that is the question to bring to your teacher. Follow what they told you.
  4. After the prayer, do not replay it. Move to the next thing in your day.
Waswas in salah: do not argue with the thought, return to the words, take repeating questions to a teacher, do not replay the prayer.

If watching your own thoughts makes the distress worse, stop the exercise.

When to get help

If the thoughts are constant or extreme, if you are repeating prayers or wudu again and again, if prayer has become a place of dread, or if you cannot function for days, please see a doctor or a mental health professional.

Doubts and intrusive thoughts of this kind can be part of obsessive-compulsive disorder, which is a recognised and treatable medical condition. It is not a verdict on your faith. Seeing a doctor is part of taking the means. Many people need both a teacher and a doctor, and there is no shame in either.

If you ever have thoughts of harming yourself, contact your local emergency number or a crisis line now.

Questions people ask next

How do I stop or get rid of waswas in salah?

We cannot give you a method that stops it. What the reports offer is a different footing: the thought is pardoned, and your dislike of it is a good sign. If it persists, the next step is a teacher and a doctor, not more effort on your own.

Does having these thoughts make me a disbeliever?

We are not in a position to judge anyone's faith. In the reports above, people with exactly this fear were answered with reassurance. If the fear will not leave you, take it to a teacher you trust. See also: Is Allah angry with me?

What about waswas over pronunciation, or whether I prayed correctly?

That is a legal question for a teacher, who can tell you what is required of you and what is not. If the doubt keeps coming back after you have been given a clear answer, mention that to a doctor as well.

Is this the same as ordinary distraction?

No. Thoughts about work or plans that drift through are ordinary, and we cover them here: why your mind wanders in salah. On whether a troubled prayer still counts, see is my prayer accepted if I was distracted.

Read next


We are not scholars. We are practising Muslims curating what the scholars of this ummah already wrote, held to the standard of the Qur'an and Sunnah. Verify everything. Ask your local people of knowledge.

This article draws on the medical note and the section on the self in 120 Classical Practices, one of the eight books in Feel Your Prayer Again.