- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • DeenUp
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

Quick answer
What is the dua to remove evil thoughts in Islam?
The primary dua to remove evil thoughts is the ta'awwudh — A'udhu billahi min ash-shaytan ir-rajeem (I seek refuge in Allah from the accursed Shaytan). This comes directly from the Quran (7:200, 16:98) as Allah's own instruction when waswas assaults the mind. Scholars add that saying Aamantu billahi wa rusulihi and turning away from the thought is the prophetic method.

When the Mind Will Not Cooperate
You sit down to pray and a thought intrudes. You try to recite Quran and a dark image crosses your mind uninvited. You feel a sudden doubt about something you have always believed. You did not seek these thoughts — they arrived on their own, unbidden and unwanted. This is waswas: the whisper Shaytan uses to disturb the heart. And the Quran itself gives you the response.
What Is the Dua to Remove Evil Thoughts?
The primary dua to remove evil thoughts is the ta'awwudh — A'udhu billahi min ash-shaytan ir-rajeem — directly commanded by Allah in Surah Al-A'raf (7:200) and Surah An-Nahl (16:98). When Shaytan's suggestion enters the mind, the Quranic instruction is immediate: seek refuge in Allah, who is the Hearing, the Knowing. Alongside this, the Prophet ﷺ taught that when waswas about faith arises, saying Aamantu billahi wa rusulihi ("I believe in Allah and His messengers") and turning away is the full prophetic response (Sahih Muslim 134).
The Quranic and Prophetic Duas for Waswas
The Primary Protection: Ta'awwudh
Recite this immediately when evil thoughts, waswas, or Shaytanic suggestions arise:
أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
A'udhu billahi min ash-shaytan ir-rajeem.
"I seek refuge in Allah from the accursed Shaytan."
This is not a formula for special occasions — it is Allah's direct command for the moment waswas strikes. The verse in Al-A'raf reads: "And if there comes to you from Shaytan an evil suggestion, then seek refuge in Allah. Indeed, He is the Hearing, the Knowing."
For Waswas During Salah
The Prophet ﷺ gave specific guidance when waswas strikes during prayer:
Spit dryly to your left three times, say A'udhu billahi min ash-shaytan ir-rajeem, and continue your prayer.
— (Sahih Muslim 2203)
This action physically and mentally interrupts the intrusion. The key is not to stop the prayer, but to address the waswas and return to the salah without analyzing the thought.
For Doubts About Faith
When waswas takes the form of doubts about Allah or iman, the prophetic response is:
آمَنْتُ بِاللَّهِ وَرُسُلِهِ
Aamantu billahi wa rusulihi.
"I believe in Allah and His messengers."
— (Sahih Muslim 134)
Then turn away from the thought entirely. Do not engage with it or try to refute it through reasoning — the Prophet's instruction was to state the affirmation and stop. This is not avoidance; it is the correct diagnosis: some thoughts are not questions to be answered but invitations to be declined.
The Mu'awwidhatayn: Surahs Al-Falaq and An-Nas
For regular protection, the most specific Quranic shield against waswas is the recitation of Surah Al-Falaq (113) and Surah An-Nas (114). Surah An-Nas (114) names the mechanism directly:
مِن شَرِّ الْوَسْوَاسِ الْخَنَّاسِ الَّذِي يُوَسْوِسُ فِي صُدُورِ النَّاسِ
"From the evil of the retreating whisperer — who whispers in the hearts of people."
— (Surah An-Nas, 114:4–5)
The Prophet ﷺ recited both surahs every morning and evening, and after each salah (Sunan Abu Dawud 5082). Building this into the morning adhkar in Islam is one of the most practically grounded things you can do against recurring evil thoughts.
Why the Dua Works: The Theology Behind It
The ta'awwudh is not a ritual to be said mechanically. It works because of what it actually does: it turns to Allah at the precise moment of Shaytan's entry. The Quran describes Shaytan as al-khannas — the one who retreats (withdraws) when Allah's name is invoked. This is not metaphor; it is a description of the spiritual mechanics. Shaytan retreats when you invoke the One he fears.
This is why Ibn al-Qayyim wrote in Ighathat al-Lahfan: "The slave's turning to Allah for refuge is itself the protective shield. It is not the words alone, but the turning of the heart toward Allah that repels the attack." The dua creates a moment of genuine iltija' — fleeing to Allah — which is precisely what Shaytan cannot withstand.
The Quran's framing in Surah Al-Mu'minun (23:97–98) adds a further dimension:
وَقُل رَّبِّ أَعُوذُ بِكَ مِنْ هَمَزَاتِ الشَّيَاطِينِ وَأَعُوذُ بِكَ رَبِّ أَن يَحْضُرُونِ
"And say: My Lord, I seek refuge in You from the incitements of the devils. And I seek refuge in You, my Lord, lest they attend me."
— (Surah Al-Mu'minun, 23:97–98)
This is the supplication of the prophets — and it is the form of refuge available to every believer in every moment of spiritual pressure.
Do you feel your duas are unanswered?
Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.
Take the Dua Quiz
Understanding What Waswas Is — and Is Not
One of the greatest sources of spiritual anxiety for Muslims is misunderstanding waswas as evidence of weak iman or spiritual failure. The Prophet ﷺ addressed this directly. When the companions reported experiencing thoughts they found deeply troubling, he said:
"That is pure faith."
— (Sahih Muslim 132)
The fact that evil thoughts disturb you — that you recoil from them and wish they would stop — is itself evidence of living iman. The heart that does not care about evil thoughts is in a more dangerous state than the heart that is alarmed by them.
What distinguishes the believer from the one who has surrendered to waswas is not the absence of bad thoughts — it is the response to them. Scholars of the heart (like Ibn Rajab al-Hanbali and Ibn al-Qayyim) consistently note: a thought that crosses the mind is not a sin; a thought that is welcomed, dwelt upon, and acted upon is what becomes dangerous.
Our guide on how to deal with waswas in Islam covers the full scholarly framework for understanding why waswas comes, what Shaytan is trying to accomplish, and how to respond systematically across different areas of life.
Building Daily Protection Into Your Routine
The most effective approach to waswas is not reactive — reciting the dua only after evil thoughts have already settled in — but proactive. The prophetic model was a daily fortress built from the morning and evening adhkar.
A practical daily habit for protecting against evil thoughts:
| Practice | When | Source |
|---|---|---|
| Mu'awwidhatayn (Surahs 113–114) | After each salah; morning and evening | Sunan Abu Dawud 5082 |
| Ayatul Kursi (2:255) | Before sleep; after each obligatory salah | Sahih al-Bukhari 2311 |
| Ta'awwudh (A'udhu billahi min ash-shaytan ir-rajeem) | When waswas arises; before Quran recitation | Quran 7:200, 16:98 |
| Morning and evening adhkar | After Fajr; before sunset | Multiple authentic hadith |
Dua for protection from Shaytan covers the extended protection duas recommended by scholars for persistent spiritual attacks. And our evening adhkar in Islam guide includes the prophetic bedtime routine that seals the night against waswas and disturbing dreams.
DeenBack's reflection on building daily protection habits is a practical guide for people who want to make these protective practices consistent rather than occasional. And DemiManifest's piece on trusting Allah through hardship addresses the inner disposition that makes these duas transformative: not just reciting words, but genuinely turning to Allah.
When Waswas Is Persistent: What Scholars Recommend
Most waswas is addressed quickly by the ta'awwudh and redirection of attention. When evil thoughts are persistent — returning despite the dua, accompanying prayer consistently, or generating significant anxiety — scholars recommend:
- Increase Quran recitation. The Quran is described as shifa (healing) for what is in the heart (17:82). A consistent daily portion of recitation builds a spiritual atmosphere in which waswas finds less foothold.
- Guard the entry points. Much waswas is fed by what the eyes see, what the ears hear, and the company kept. Restricting harmful input is part of the prophetic strategy against Shaytan's whispers.
- Avoid excessive analyzing. Trying to refute waswas through extended internal debate is often counterproductive — the Prophet's instruction was to state the affirmation and turn away, not to engage in theological argument with an intrusive thought.
- Consult a scholar if it becomes a barrier to worship. When waswas becomes so intrusive that it is preventing prayer or producing genuine spiritual paralysis, a scholar who specializes in this area can provide specific, tailored guidance.
Closing
The dua to remove evil thoughts — A'udhu billahi min ash-shaytan ir-rajeem — is Allah's own prescription, given in the Quran because He knows what the human heart faces. Shaytan's whisper is real. So is the protection. The moment you turn to Allah at the exact moment waswas arrives, you are doing exactly what the Quran commands, and you are not alone in doing it.
Build the morning and evening adhkar around the Mu'awwidhatayn. Keep the ta'awwudh on your tongue. And know that the disturbance of a bad thought is not a sign of failure — it is the sign that you are still in the fight.
Do you feel your duas are unanswered?
Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.
Take the Dua Quiz
Frequently Asked Questions
What is the dua to remove evil thoughts in Islam?
The primary dua to remove evil thoughts is the ta'awwudh — A'udhu billahi min ash-shaytan ir-rajeem (I seek refuge in Allah from the accursed Shaytan). This comes directly from the Quran (7:200, 16:98) as Allah's own instruction when waswas assaults the mind. Scholars add that saying Aamantu billahi wa rusulihi and turning away from the thought is the prophetic method.
What is waswas in Islam?
Waswas (وَسْوَاس) means whisper or insinuation — specifically the subtle evil suggestions Shaytan introduces into the mind to distract, confuse, or lead toward sin. The Quran names Allah as al-Waswas al-Khannas (114:4) — the withdrawing whisperer — because Shaytan retreats when Allah's name is invoked. Waswas includes doubts about faith, intrusive thoughts during prayer, and persistent temptations toward wrongdoing.
What should I do if I have evil thoughts during salah?
When waswas strikes during salah, the Prophet ﷺ taught to spit dryly to your left three times, seek refuge in Allah from Shaytan, and continue the prayer (Sahih Muslim 2203). Do not stop the prayer to analyze the thought — the spit and ta'awwudh interrupt the distraction and return your attention. Seeking to complete the prayer despite the intrusion is itself an act of defiance against Shaytan.
Can waswas about faith or Allah's existence mean I have lost my iman?
No. The Prophet ﷺ was asked about people who find in themselves something they would rather not utter, and he said: 'That is pure faith' (Sahih Muslim 132). The fact that the thought disturbs you — that you recoil from it — is itself a sign of sound iman. The danger is in accepting or dwelling on waswas, not in having it arise. Scholars consistently say that spontaneous evil thoughts are not sins; they become sins only when acted upon or entertained deliberately.
How many times should I say A'udhu billahi for evil thoughts?
There is no fixed count prescribed in the authenticated hadith for the ta'awwudh against waswas. The Prophetic instruction is to say it and then turn away from the thought — meaning once, sincerely, while actively redirecting your attention. Repeating it obsessively can itself become a form of waswas. Say it once with conviction, then engage in something that occupies the mind: Quranic recitation, dhikr, or purposeful action.
Is there a specific surah to protect against waswas and evil thoughts?
Surah Al-Falaq (113) and Surah An-Nas (114) — the two Mu'awwidhatayn — are the most specific Quranic protection against evil, including waswas. Surah An-Nas names the whispering of Shaytan (al-waswas al-khannas) directly. The Prophet ﷺ recited them every morning and evening, and after each salah. Regular recitation of these two surahs is among the most practically effective means of guarding the heart.
Why do evil thoughts seem worse right before or during worship?
Scholars explain that waswas intensifies precisely during acts of worship because Shaytan's goal is to prevent or diminish worship. Ibn al-Qayyim observed that increased waswas during prayer or Quran recitation is a sign that the worship itself is meaningful and worth attacking. This is not a spiritual failure — it is evidence of spiritual engagement. The response is to complete the worship with greater determination, not to abandon it.