You wake with your heart pounding. The room is dark, the dream is still close, and a question arrives before your breathing has settled: was that a sign? Did it mean something is going to happen?
The Prophet ﷺ answered that question directly, and he gave clear, simple steps for exactly this moment, so that nobody would have to lie awake at three in the morning wondering. Here is what he taught, where it is recorded, and what it means for you tonight.
Where a bad dream comes from
The Prophet ﷺ said that a good dream is from Allah, and a bad dream is from Shaytan. This is recorded in Sahih Muslim 2261, with a parallel narration in Sahih al-Bukhari 6986.
That short sentence takes a lot of weight off. A frightening dream is not a message about your future, and it is not a forecast of something coming. You do not need to decode it, look it up or carry it into your day as a warning.
The steps the Prophet ﷺ taught
In the same narrations, he told the person who sees something they dislike in a dream what to do next. Brought together from Sahih Muslim 2261, Sahih al-Bukhari 6986 and Sahih Muslim 2262, the steps are:
- Spit dryly to your left three times.
- Seek refuge in Allah from Shaytan and from the evil of what you saw.
- Turn over and lie on your other side. This instruction is in Sahih Muslim 2262.
- Do not tell anyone about the dream.
The words of seeking refuge can be as short as A'udhu billahi minash-shaytanir-rajim: I seek refuge in Allah from Shaytan, the rejected. Say them, and let them be the last word on the dream.
There is a mercy in how physical these steps are. When your body is still in fright mode, being given something small and concrete to do helps more than being told to think differently. Turn to the left. Seek refuge. Roll over. Leave it there.
Why not tell anyone
The instruction not to relate a bad dream can feel strange when your first instinct is to wake your spouse or message a friend first thing. But it fits with everything else in the guidance. The dream is not meaningful information. Retelling it, going over the details and asking people what they think it means gives it a place in your day that it was never meant to have.
This is different from getting help with your sleep. If nightmares are frequent, or connected to something painful that happened to you, please speak to a doctor or a therapist. Getting care for your sleep and your wellbeing is not the same as passing a dream around as if it meant something.
Getting back to sleep
Once you have done the steps, your body may still need a few minutes to catch up with what you know. Some things that help:
- Tell yourself the plain facts. You are in your bed. You are safe. What you saw did not happen.
- Breathe out for longer than you breathe in, a few times, without forcing it.
- Let your hands go heavy and let the room be quiet.
- If the fear keeps circling, remember who is awake while you sleep.
Ayat al-Kursi describes Allah in a way that speaks straight to a frightened person in the dark:
"Allah - there is no deity except Him, the Ever-Living, the Sustainer of [all] existence. Neither drowsiness overtakes Him nor sleep."
Surah Al-Baqarah 2:255 (opening of the verse)
You do not have to keep watch. The One you sought refuge with does not sleep, and nothing you saw in the dream is outside His knowledge or His care.
What this guidance does not do
It does not interpret your dream or tell you what a particular image means. It does not turn a nightmare into a sign that you have done something wrong. It does not say that a pious person never has bad dreams. It simply tells you where the dream came from, what to do, and that you can put it down.
If your child wakes from a nightmare, the plain facts help them too: you are in your bed, you are safe, it did not happen.
Listen in Still Heart
Still Heart has a short session for this moment called When the Nightmare Comes, about four and a half minutes. It takes you through the steps the Prophet ﷺ taught, says the words of refuge with you, reminds you to turn onto your other side, and does not interpret the dream or treat it as a forecast. If you are awake afterwards with the day still on your mind, Entrusting the Night to Allah moves slowly toward the Prophetic sleep du'a, Bismika Allahumma amutu wa ahya, for handing the night back to Him.
Sources
- Sahih Muslim 2261, with Sahih al-Bukhari 6986
- Sahih Muslim 2262
- Words of refuge used in the session
- The Qur'an, Al-Baqarah 2:255
- Sahih al-Bukhari 6324




