Dua after a bad dream
أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
Aʿūdhu bi’llāhi mina’sh-shayṭāni’r-rajīm.
“I seek refuge in Allah from the accursed Satan.”
When to say it
After a distressing dream: spit lightly to the left three times, seek refuge in Allah from Satan three times, and turn onto the other side.
Virtue & benefit
The Prophet ﷺ said a bad dream is from Satan; whoever does this and does not mention it to anyone will not be harmed by it.
Source
The words are those the Prophet ﷺ gave for seeking refuge from Satan in Ṣaḥīḥ al-Bukhārī (6115), from Sulaymān ibn Ṣurad, about a man overcome by anger. The instruction after a bad dream — to seek refuge in Allah from Satan three times — is in Ṣaḥīḥ Muslim (2262), from Jābir, which does not fix the words; that the dream then does no harm is in Ṣaḥīḥ Muslim (2261), from Abū Qatādah.
Frequently asked
What do you do after a bad dream in Islam?
Seek refuge in Allah from Satan three times, spit lightly to your left three times, turn onto your other side, and do not tell anyone about it.
Is a bad dream from Allah or Satan?
The Prophet ﷺ taught that a distressing dream is from Satan, so the believer seeks refuge and does not act on it.
Make this dua a daily habit
SABR helps you memorise and retain your everyday duas with spaced repetition — so the words are ready on your tongue when you need them.