What Is Waswasa (وَسْوَسَة) in Islam?

Every Muslim — at some point — experiences what the Quran calls waswasa (وَسْوَسَة): unsettling, intrusive thoughts that whisper doubts, fears, or temptations into the heart. These are not a sign of weak faith. Quite the opposite — the Prophet Muhammad ﷺ told his Companions that experiencing waswasa is itself proof of iman (faith), because Shaytan does not trouble hearts that are already far from Allah.

Islam provides a complete framework for understanding and eliminating these thoughts — not through suppression or anxiety, but through the powerful weapon of dua, dhikr, and turning to Allah with trust and sincerity. Many Muslims search for a dua for intrusive thoughts without realising that Islam has already addressed this with profound specificity — and that simply knowing the right dua to remove bad thoughts can transform your entire relationship with these whispers. Others come looking for a dua to remove dirty thoughts from mind or a dua for evil thoughts that feel shameful and difficult to speak of. Know that the Prophet ﷺ himself was asked about exactly this — and his answer was one of mercy and reassurance.

“Some of the Companions came to the Prophet ﷺ and said: We find in ourselves thoughts that are too grave to speak of. He said: Do you really experience that? They said: Yes. He said: That is clear faith.”

📚 Sahih Muslim · Hadith 132 · Verify on Sunnah.com ↗
💡

Key Insight: Waswasa Is Not Sin

Islamic scholars unanimously agree that a thought which crosses the mind — without being acted upon or entertained — carries no sin. The Prophet ﷺ said: “Allah has pardoned for my Ummah what is whispered in their hearts, as long as they do not act upon it or speak of it.” (Bukhari 5269, Muslim 127) The dua below helps you actively repel these whispers before they take hold.

3 Types of Bad Thoughts in Islamic Understanding

Not all intrusive thoughts are the same. Scholars of Islam categorise waswasa into three primary types, each requiring a slightly different approach. Identifying which source your waswasa comes from is the first step toward choosing the right dua to get rid of unwanted thoughts — and reclaiming your peace of heart. For every type, the goal is the same: to make those bad thoughts go away with the dua the Prophet ﷺ prescribed, and to return the heart to its natural state of clarity and trust in Allah.

🛡️ The Three Sources of Waswasa
Based on the teachings of Ibn al-Qayyim and classical scholars of tazkiyah
😈

From Shaytan

Doubts about faith, Allah’s existence, or the permissibility of acts. Repelled by Ta’awwudh and turning to Allah.

🫀

From the Nafs

Desires, ego-driven whispers, and anger. Repelled through fasting, reflection, and purifying the heart.

🌍

From the World

Anxious thoughts about wealth, status, and dunya matters. Repelled by tawakkul (reliance on Allah).

Bad Thought Waswasa arrives Seek Refuge أَعُوذُ بِاللَّهِ Remember Allah Dhikr & Dua Peace & Clarity Shaytan driven away

Essential Duas for Removing Bad Thoughts

These supplications are sourced directly from the Quran and authentic hadith collections — representing the most powerful dua for waswasa that Islamic tradition has prescribed across fourteen centuries. Recite them with presence of heart and sincere reliance upon Allah ﷻ.

1

Ta’awwudh — The Primary Refuge from Shaytan

أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
Transliteration

A’ūdhu billāhi min ash-shayṭāni ar-rajīm

Translation

“I seek refuge in Allah from the accursed Shaytan.”

📖 Quran 7:200 & 16:98 Verify on Quran.com ↗
2

Dua of the Prophets — Seeking Refuge from Shaytan’s Whispers

رَبِّ أَعُوذُ بِكَ مِنْ هَمَزَاتِ الشَّيَاطِينِ ۝ وَأَعُوذُ بِكَ رَبِّ أَن يَحْضُرُونِ
Transliteration

Rabbi a’ūdhu bika min hamazātish-shayāṭīn · wa a’ūdhu bika rabbi an yaḥḍurūn

Translation

“My Lord, I seek refuge with You from the prompting of the devils. And I seek refuge with You, my Lord, lest they come to me.”

📖 Quran 23:97–98 Verify on Quran.com ↗
3

Surah An-Nas — The Complete Shield Against Whispers

قُلْ أَعُوذُ بِرَبِّ النَّاسِ ۝ مَلِكِ النَّاسِ ۝ إِلَٰهِ النَّاسِ ۝ مِن شَرِّ الْوَسْوَاسِ الْخَنَّاسِ ۝ الَّذِي يُوَسْوِسُ فِي صُدُورِ النَّاسِ ۝ مِنَ الْجِنَّةِ وَالنَّاسِ
Transliteration

Qul a’ūdhu bi-rabbin-nāsi · Malikin-nāsi · Ilāhin-nāsi · Min sharril-waswāsil-khannās · Alladhī yuwaswisu fī ṣudūrin-nāsi · Minal-jinnati wan-nās

Translation

“Say: I seek refuge in the Lord of mankind, the King of mankind, the God of mankind — from the evil of the retreating whisperer, who whispers into the hearts of mankind — from the jinn and mankind.”

📖 Quran 114:1–6 (Surah An-Nas) Read full surah ↗
“The Prophet ﷺ used to recite Surah Al-Falaq and Surah An-Nas every night before sleeping, blow into his hands, and wipe them over his body. He said these were the greatest means of seeking Allah’s protection.” — Sahih Bukhari 5017 · Verify on Sunnah.com ↗

Powerful Dua for Intrusive Thoughts During Prayer (Salah)

Intrusive thoughts during salah are one of Shaytan’s primary tactics to distract believers. For those experiencing a dua for OCD thoughts — particularly repetitive, distressing doubts that cycle during worship — the Prophet ﷺ gave direct and practical guidance on how to silence this immediately with a single supplication.

4

Dua When Distracted in Salah — Spit Left & Seek Refuge

أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
Action + Supplication

A’ūdhu billāhi min ash-shayṭāni ar-rajīm

Translation & Guidance

“I seek refuge in Allah from the accursed Shaytan.” — The Prophet ﷺ instructed: when distracted in prayer, turn slightly to the left and spit (a dry spit, no saliva) three times, then recite this phrase, and Shaytan will be driven away. (Sahih Muslim 2203)

📚 Sahih Muslim · 2203 Verify on Sunnah.com ↗
🕌

Imam Ahmad’s Advice on Waswas in Prayer

Imam Ahmad ibn Hanbal — when asked about persistent distraction in salah — said: “Ignore the thought entirely. Do not fight it — the fight itself distracts you further. Simply focus on the words of the prayer and the meaning will follow your intention.” Scholars have emphasised that deliberately engaging with waswasa, rather than dismissing it, only strengthens it.

Ayat al-Kursi — The Mightiest Protective Verse

Ayat al-Kursi (Quran 2:255) is the greatest verse in the Quran and the most powerful single shield against Shaytan and his whispers.

5

Ayat al-Kursi — The Throne Verse

اللَّهُ لَا إِلَٰهَ إِلَّا هُوَ الْحَيُّ الْقَيُّومُ ۚ لَا تَأْخُذُهُ سِنَةٌ وَلَا نَوْمٌ ۚ لَّهُ مَا فِي السَّمَاوَاتِ وَمَا فِي الْأَرْضِ ۗ مَن ذَا الَّذِي يَشْفَعُ عِندَهُ إِلَّا بِإِذْنِهِ ۚ يَعْلَمُ مَا بَيْنَ أَيْدِيهِمْ وَمَا خَلْفَهُمْ ۖ وَلَا يُحِيطُونَ بِشَيْءٍ مِّنْ عِلْمِهِ إِلَّا بِمَا شَاءَ ۚ وَسِعَ كُرْسِيُّهُ السَّمَاوَاتِ وَالْأَرْضَ ۖ وَلَا يَئُودُهُ حِفْظُهُمَا ۚ وَهُوَ الْعَلِيُّ الْعَظِيمُ
Translation

“Allah — there is no deity except Him, the Ever-Living, the Sustainer of existence. Neither drowsiness overtakes Him nor sleep. To Him belongs whatever is in the heavens and whatever is on the earth. Who is it that can intercede with Him except by His permission? He knows what is before them and what will be after them, and they encompass not a thing of His knowledge except for what He wills. His Kursi extends over the heavens and the earth, and their preservation tires Him not. And He is the Most High, the Most Great.” — Quran 2:255

📖 Quran 2:255 Verify on Quran.com ↗ Nasai 960 — Virtue ↗

“Whoever recites Ayat al-Kursi when he goes to sleep, Allah will appoint a guardian over him and Shaytan will not come near him until morning.”

📚 Sahih Bukhari · Hadith 2311 · Sunnah.com ↗

Daily Adhkar for Mental Clarity & Protection

Beyond individual duas, the Prophet ﷺ prescribed a complete daily routine of dhikr and supplication that forms a protective barrier against waswasa throughout the day.

6

La Hawla wa La Quwwata — Dispelling Anxiety & Whispers

لَا حَوْلَ وَلَا قُوَّةَ إِلَّا بِاللَّهِ
Transliteration

Lā ḥawla wa lā quwwata illā billāh

Translation

“There is no power and no strength except with Allah.” — This profound phrase acknowledges complete dependence on Allah and is described in hadith as a treasure of Paradise. It breaks the cycle of anxious, repetitive thoughts by redirecting the heart to its source of strength.

📚 Sahih Bukhari · 6409 Sunnah.com ↗
7

Morning Dua for Heart Purification & Guidance

اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْهَمِّ وَالْحَزَنِ، وَأَعُوذُ بِكَ مِنَ الْعَجْزِ وَالْكَسَلِ
Transliteration

Allāhumma innī a’ūdhu bika minal-hammi wal-ḥazan, wa a’ūdhu bika minal-‘ajzi wal-kasal

Translation

“O Allah, I seek refuge in You from anxiety and sorrow, and I seek refuge in You from incapacity and laziness.” — The Prophet ﷺ recited this supplication regularly. It directly addresses the anxious thought-cycles (hamm and hazan) that underlie persistent bad thoughts.

📚 Sahih Bukhari · 2893 Sunnah.com ↗
8

Hasbi Allah — Complete Trust in Allah

حَسْبِيَ اللَّهُ لَا إِلَٰهَ إِلَّا هُوَ ۖ عَلَيْهِ تَوَكَّلْتُ ۖ وَهُوَ رَبُّ الْعَرْشِ الْعَظِيمِ
Transliteration

Ḥasbiyallāhu lā ilāha illā huwa, ‘alayhi tawakkaltu, wa huwa rabbul-‘arshil-‘aẓīm

Translation

“Sufficient for me is Allah; there is no deity except Him. Upon Him I have relied, and He is the Lord of the Great Throne.” — The Prophet ﷺ taught that whoever recites this seven times morning and evening, Allah will suffice him from whatever concerns him — including the overwhelming burden of bad thoughts. (Abu Dawud 5081)

📖 Quran 9:129 Quran.com ↗ Abu Dawud 5081 ↗

Step-by-Step: What to Do When Bad Thoughts Strike

Follow this Prophetically-guided sequence whenever waswasa or intrusive thoughts arise — in or out of prayer. Think of it as your complete, step-by-step dua to get rid of waswasa, grounded entirely in the Sunnah of the Prophet ﷺ. Practised consistently, this sequence also becomes a dua for avoiding bad thoughts and temptation before they even fully form — training the heart to avoid bad thoughts through reflex and remembrance rather than willpower alone.

🛡️ The 6-Step Waswasa Shield
Prophetic method for immediately repelling bad thoughts
🛑
Step 1 — Stop & Recognise Identify the thought as waswasa — external whisper, not part of you.
🗣️
Step 2 — Seek Refuge (Ta’awwudh) أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
🔄
Step 3 — Change Your State Make wudu if possible, change your physical position, or leave the room.
📿
Step 4 — Begin Dhikr Recite SubhanAllah, Alhamdulillah, or La ilaha illallah to fill the heart.
🤲
Step 5 — Make Dua Use the duas on this page — especially Surah An-Nas and Ayat al-Kursi.
Step 6 — Trust & Move On Do not dwell on the thought. Tawakkul: entrust the outcome to Allah and proceed.

Prophetic Guidance on Waswasa & Bad Thoughts

The Prophet Muhammad ﷺ addressed the issue of intrusive thoughts with profound wisdom and compassionate practical guidance. His teachings give us the most authentic dua to remove waswasa — not merely as words to recite, but as a complete and tested way of life. Each piece of Prophetic advice below also serves as a practical dua to stop bad thoughts from escalating: catch the whisper early, respond with remembrance, and trust Allah to drive it away.

🤲

Say “Āmantū billāh”

When doubts or shocking thoughts arise, the Prophet ﷺ instructed believers to declare “I believe in Allah” and stop engaging. (Muslim 134)

🚿

Make Wudu

Ritual purification refreshes the body and spiritual state, creating a physical break from the loop of intrusive thinking.

📖

Recite Quran

The Prophet ﷺ said that Shaytan flees from the house in which Surah Al-Baqarah is recited. (Muslim 780)

🚶

Change Position

The Prophet ﷺ advised: “If one of you feels anger or waswasa, let him change his position — sit if standing, or lie down if sitting.” (Abu Dawud 4782)

🌙

Night Adhkar

Consistently reciting the three Quls and Ayat al-Kursi before sleep protects the heart through the night. (Bukhari 5017)

💚

Seek Knowledge

Many types of waswasa arise from ignorance about halal/haram. Increasing Islamic knowledge removes the soil in which doubts grow.

📚 Learn More from Scholarly Sources

These trusted Islamic institutions provide deeper guidance on waswasa and spiritual wellbeing:

Best Times to Recite These Duas

While your dua for waswasa can be recited at any time — even mid-thought, mid-step, or mid-prayer — certain blessed moments carry extra spiritual weight and efficacy, making them especially powerful for breaking the cycle of bad thoughts.

🌅
After Fajr Prayer

The morning is the most spiritually charged part of the day. Morning adhkar form a protective dome for the coming hours.

🌆
After Asr Prayer

Evening adhkar (after Asr until Maghrib) complete the day’s shield. This is the second great adhkar session.

🌙
Before Sleeping

Recite Ayat al-Kursi, the three Quls, and blow into your palms. This protects the heart and mind through the night.

🕌
During Sujood

The Prophet ﷺ said the believer is closest to Allah in sujood. This is the most powerful moment for personal dua.

📿
Immediately When Waswasa Arrives

Do not wait — the moment you notice a bad thought, immediately seek refuge. Speed is key to preventing the thought from taking hold.

🌧️
During Rain

Duas made while it rains are among those reported to be especially accepted. Intensify your supplications during rainfall.

Tips for Making Your Dua Most Effective

These practical principles, drawn from the Sunnah and scholarship, maximise the impact of your supplications against bad thoughts.

1
Memorise the Arabic

The Prophet ﷺ taught these duas in Arabic. Reciting them in their original form carries unique spiritual weight. Start with Ta’awwudh and build from there.

2
Maintain Wudu Throughout the Day

Constant wudu is a fortress. Shaytan finds it significantly harder to create persistent waswasa in a person who is continuously in a state of ritual purity.

3
Never Entertain the Thought

Do not debate with, analyse, or argue against the thought. The Prophet ﷺ taught: seek refuge and stop — engagement is the trap Shaytan wants you to fall into.

4
Guard Your Senses

Bad thoughts are often fuelled by what we see, hear, and consume. Limiting haram content dramatically reduces the frequency and intensity of waswasa.

5
Recite the Three Quls Daily

Al-Ikhlas, Al-Falaq, and An-Nas — three times each morning and evening, and once before sleep. This was a consistent Prophetic practice.

6
Seek Ruqyah If Persistent

If waswasa is severe, persistent, or causes significant distress, seeking Islamic spiritual healing (ruqyah) from a qualified person is a valid Sunnah option.

Explore More Protective Duas on DuaForAll

Our full collection of duas for protection, anxiety, and spiritual purification — all verified, all free.

Frequently Asked Questions

No. The Prophet ﷺ explicitly stated that Allah has pardoned this Ummah for what is whispered in the heart, as long as the person does not act on it or speak of it (Sahih Bukhari 5269, Muslim 127). A thought that simply passes through the mind carries no sin. Sin only becomes attached when a person deliberately entertains, nurtures, or acts upon a bad thought. The experience of waswasa — even shocking thoughts — is itself described by the Prophet ﷺ as a sign of clear faith. See more at IslamQA.
Scholars most commonly recommend the immediate recitation of Ta’awwudh (أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ — “I seek refuge in Allah from the accursed Shaytan”), as it is commanded directly in the Quran (7:200) and proven by countless hadith. For sustained protection, the daily habit of reciting Ayat al-Kursi and the three Quls (Al-Ikhlas, Al-Falaq, An-Nas) morning, evening, and before sleep provides the most comprehensive shield.
This is one of Shaytan’s most well-documented tactics. The Prophet ﷺ explained that Shaytan specifically targets a person in prayer — he is called “Khanzab” in this context (Muslim 2203) — and deliberately causes them to lose their place and fill their mind with distractions. The Prophetic solution is to spit lightly to the left three times and seek refuge in Allah. Beyond this, scholars advise not battling the thought directly (which deepens distraction) but instead focusing more intensely on the meaning of the words being recited in salah. See our full guide on Duas for Protection.
Persistent return of bad thoughts is actually addressed directly in the Sunnah. The Prophet ﷺ said that the person who experiences this and is distressed by it has faith — the distress itself proves they reject the thought (Muslim 132). Continue making dua consistently, build your daily adhkar habit, and guard your senses from haram input. If thoughts are so persistent that they cause significant distress or interfere with daily life, this may be OCD or waswasa al-qahri (compulsive waswasa). SeekersGuidance has excellent guidance on this distinction, and speaking to a qualified Muslim counsellor is advised.
Absolutely. Teaching children the Ta’awwudh and the three Quls from a young age gives them a lifelong spiritual tool. The Prophet ﷺ taught his own family these protections. For age-appropriate duas and a complete guide to teaching children Islamic supplications, see our dedicated page: Dua for Children.
Waswasa (whispers from Shaytan) and the evil eye (ayn) are distinct phenomena in Islamic theology, though both are real and addressed by the Quran and Sunnah. Waswas is the normal condition of every believer — it does not require assuming supernatural harm from others. The duas for waswasa on this page also provide protection against the evil eye and general harm, since they call upon Allah as the absolute Protector. For more on ruqyah and protection, visit our Duas for Protection page.
The most powerful dua for waswasa is Ta’awwudh — “A’ūdhu billāhi min ash-shayṭāni ar-rajīm” — commanded directly in Quran 7:200. Combined with daily recitation of Ayat al-Kursi and the three Quls (Al-Ikhlas, Al-Falaq, An-Nas) morning, evening, and before sleep, this forms the most comprehensive Prophetic shield against all forms of waswasa. (Bukhari 5017)
Yes. Islam prescribes multiple authenticated supplications to remove bad thoughts — the most immediate being Ta’awwudh and Surah An-Nas (Quran 114). Scholars also highlight the morning dua from Sahih Bukhari 2893: “Allāhumma innī a’ūdhu bika minal-hammi wal-ḥazan” — which directly addresses the anxiety and sorrow-driven thought cycles that feed persistent bad thoughts.
For a dua for OCD thoughts or intrusive thought patterns, the Prophet ﷺ instructed believers to say “Āmantū billāh” (I believe in Allah) and immediately stop engaging with the thought (Muslim 134). Follow this with Ta’awwudh and Surah An-Nas. The distress you feel over these thoughts is itself a sign of faith — persistently returning to dua, rather than fighting the thoughts, is the prescribed Prophetic remedy.
Perform the dua to get rid of waswasa in three steps: (1) Recognise the thought as waswasa — an external whisper, not part of you. (2) Immediately recite Ta’awwudh without debating the thought. (3) Follow with dhikr — SubhanAllah or La ilaha illallah — to refill the heart. For persistent waswasa, build the morning and evening adhkar habit described in this guide as your daily fortress.
Yes. The Prophet ﷺ prescribed reciting Ayat al-Kursi, Surah Al-Ikhlas, Al-Falaq, and An-Nas before sleeping — blowing into the palms and wiping over the body (Bukhari 5017). This dua to get rid of unwanted thoughts at night creates spiritual protection through sleep, when the mind is most vulnerable to Shaytan’s whispers and anxious thought-loops.
Yes. The Prophet ﷺ prescribed reciting Ayat al-Kursi, Surah Al-Ikhlas, Al-Falaq, and An-Nas before sleeping — blowing into the palms and wiping over the body (Bukhari 5017). This dua to get rid of unwanted thoughts at night creates spiritual protection through sleep, when the mind is most vulnerable to Shaytan’s whispers and anxious thought-loops.
The waswasa ki dua (وسوسہ کی دعا) refers to the same Prophetic supplications taught across all Muslim communities — the Arabic is universal and the same regardless of language. The most widely recited is Ta’awwudh: A’ūdhu billāhi min ash-shayṭāni ar-rajīm (Quran 7:200), followed by Surah An-Nas. In South Asian Muslim households, Urdu-speaking families often pass this waswasa ki dua down through generations — it is indeed the same authentic supplication, and it is fully covered and explained on this page with Arabic text, transliteration, and meaning.
Yes — and more importantly, you should feel no shame. The Prophet ﷺ was asked about exactly this type of waswasa, and he said: “That is clear faith” (Muslim 132). A dua for evil thoughts or a dua to remove dirty thoughts from mind follows the same Prophetic prescription as all waswasa: immediately recite Ta’awwudh, do not engage with or analyse the thought, follow with Surah An-Nas, and make wudu if possible. The fact that such thoughts feel disturbing to you is itself the sign that your heart rejects them — which is the very definition of a believer’s conscience. Turn to Allah without shame and without delay.

Waswasa is not your fault — and it is not your identity. It is a whisper, fleeting and external, ultimately powerless against a heart that turns sincerely to Allah. Every time you reach for a dua to remove waswasa, you are doing exactly what the Prophet ﷺ taught: choosing remembrance over reaction, and trust over fear. If you came to this page hoping for a dua for bad thoughts to go away — know that they will, with consistency and sincerity. Use this guide as your dua to get rid of bad thoughts whenever the whispers grow loud, build your daily adhkar as a habit rather than a last resort, and know that the most powerful dua for waswasa is always the one recited with a surrendered and sincere heart. May Allah grant you clarity, steadiness, and lasting peace. Āmīn.

dua for removing bad thoughts