Dua for Bad Dreams at Night in 4 Powerful Bukhari Steps
Woke up shaken? Here is what the Prophet ﷺ taught to say and do after a frightening dream, step by step.
أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ، وَمِنْ شَرِّ هَذِهِ الرُّؤْيَا
───── ❖ ─────
The Sunnah dua for bad dreams is short: seek refuge with Allah from Shaytan and from the harm of what you saw, while blowing lightly to your left three times and then rolling onto your other side. The Prophet ﷺ said that one who does this will not be harmed by the dream. This page sets out the Arabic, how to pronounce it, the narrations behind each action, and a further protective prayer for children and adults who wake frightened.
Dua for Bad Dreams in Arabic, English and Roman Urdu
أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ، وَمِنْ شَرِّ هَذِهِ الرُّؤْيَا
How to pronounce it: Aʿūdhu bi-llāhi mina sh-shayṭāni r-rajīm, wa min sharri hādhihi r-ruʾyā.
In plain English: I take shelter in Allah from the outcast devil, and from whatever harm this dream carries.
In Roman Urdu: Main Allah ki panah mangta hoon mardood Shaitan se, aur is khwab ki burai se.
Where it comes from: Two narrations in Sahih Muslim give the instructions. Abu Qatadah’s report (no. 2261) mentions refuge from the evil of the dream, and Jabir’s (no. 2262) says to seek refuge from Shaytan three times and to change sides. The sentence above simply joins those two commands, so you may also use any wording of isti’adhah. Read Jabir’s wording here: Sahih Muslim 2262 on Sunnah.com.

Four Actions to Take Straight After Waking Frightened
- Blow lightly to the left three times. The narrations use words for a dry puff with a trace of breath, not real spitting.
- Ask Allah for protection three times using the words above or any similar wording.
- Roll over from the side you were lying on, a small physical break from the dream.
- Keep it to yourself. Do not narrate or try to interpret it; the hadith ties its harmlessness to this silence.
If sleep still will not return, Abu Hurayrah’s narration adds one more option: get up and pray (Sahih Muslim 2263). Two calm rak’ahs replace a racing mind with sujud, and many people find the fear fades by the time they finish.
Why Frightening Dreams Cannot Harm You
The Prophet ﷺ sorted dreams into three kinds: glad tidings from Allah, distress caused by Shaytan, and the mind replaying its own day (Sahih Muslim 2263). A disturbing dream belongs to the second or third type. It is not a prophecy and does not decree anything. Abu Salamah, a Follower, once said such dreams made him physically ill, until Abu Qatadah taught him these steps; afterwards he said the dreams no longer troubled him.
The same threefold division is also recorded in Sahih al-Bukhari 7017, which is one reason scholars on sites such as IslamQA advise against searching online dream dictionaries after a nightmare.
A Prophetic Prayer for Fear During Sleep
The Prophet ﷺ used to teach the Companions these words for moments of alarm. Abdullah ibn ‘Amr would teach them to his older children:
أَعُوذُ بِكَلِمَاتِ اللَّهِ التَّامَّةِ مِنْ غَضَبِهِ وَشَرِّ عِبَادِهِ وَمِنْ هَمَزَاتِ الشَّيَاطِينِ وَأَنْ يَحْضُرُونِ
Pronunciation: Aʿūdhu bi-kalimāti llāhi t-tāmmati min ghaḍabihi wa sharri ʿibādihi wa min hamazāti sh-shayāṭīni wa an yaḥḍurūn.
Meaning: I seek protection in Allah’s perfect words from His anger, from the evil of His servants, from the prodding of devils and from their coming near me.
Grading: Sunan Abi Dawud 3893, graded hasan by al-Albani. A longer version in Jami’ at-Tirmidhi 3528 ties it directly to fear in sleep, but that chain is graded da’if, so the Abu Dawud wording is used here.
Helping Kids After a Scary Dream
Sit with your child, turn on a soft light and keep your voice slow. Show them the gentle puff to the left and say the refuge sentence together. Explain that bad dreams are like a shadow: they look big but cannot touch you when you ask Allah for help. For older children, the prayer above is short enough to memorise in a week. Avoid asking them to describe the dream in detail.

Building a Night Routine That Reduces Nightmares
- Go to bed in a state of wudu, settling on the right side as the Prophet ﷺ did.
- Recite the bedtime adhkar from our guide to sleeping in Allah’s name.
- Stop scary films, news and heavy meals in the last hour before bed.
- If sleep itself is the struggle, see the routine for restless nights.
- On waking, begin with the morning praise.
Repeated nightmares linked to trauma, grief or anxiety are a health matter as well as a spiritual one. Keep the Sunnah steps and also speak to a doctor or counsellor; the two work together.
Nightmares in Islam: Common Questions
What is the Sunnah dua after bad dreams?
Blow lightly to your left three times, ask Allah’s protection from Shaytan and from the dream’s harm, turn onto your other side and do not tell anyone (Sahih Muslim 2261, 2262).
Can a bad nightmare actually harm me if I say the dua?
The Prophet ﷺ said it will not harm the person who follows these steps, so treat it as a passing disturbance rather than a sign.
After the dua after bad dreams, can I tell someone about it?
The Sunnah advice is not to relate it. A child can still be comforted without going through the dream’s details.
Is there a prayer for bad dreams to stop them at night?
Sleep with wudu, recite the established bedtime adhkar and the prayer from Abu Dawud 3893. Nothing guarantees zero nightmares, but these are protective.
Should I pray after a bad nightmare? What dua helps?
Yes, if you wish. Say the bad dreams dua of seeking refuge first, then Sahih Muslim 2263 says to get up and pray, which is a strong way to settle the heart.
Do I need a special prayer for bad dreams caused by sihr or evil eye?
Not by themselves. The hadith links bad dreams to Shaytan generally; most are ordinary. Seek a qualified scholar only if other clear signs exist.
أَلَا بِذِكْرِ اللَّهِ تَطْمَئِنُّ الْقُلُوبُ
“Verily, in the remembrance of Allah do hearts find rest.”
Surah Ar-Ra’d 13:28









