Recurring bad dreams can disturb sleep and well-being. Dr. Hassan El-Yadak, Fatwa Secretary at Al-Azhar, explains that dreams are affected by work pressure, social and psychological stress, illness, and environmental factors.
He emphasizes that dreams are not solely linked to worship and encourages addressing physical and mental pressures while seeking Allah’s help for protection and well-being.
4 Quranic Verses to Prevent Nightmares
Dr. Ali Gomaa, former Grand Mufti of Egypt, confirms that nightmares come from Satan, while true visions come from Allah. Reading the last four verses of Surah Al-Kahf before sleeping is a proven method to prevent bad dreams and ensure peaceful sleep.
Sunnah Practices Before Sleep
Prophet Muhammad (PBUH) recommended several practices before sleeping:
-
Sleeping in a state of wudu (ablution).
-
Shaking the bed before lying down.
-
Sleeping on the right side with the right hand under the cheek.
-
Reciting Surah Al-Kafirun.
-
Reciting the last three Qul verses (Al-Ikhlas, Al-Falaq, An-Naas) three times while wiping over the body.
-
Reciting Ayat al-Kursi.
-
Reading the last two verses of Surah Al-Baqarah.
-
Tasbeeh, Tahleel, and Takbeer before sleep.
-
Repeating sleep and awakening supplications.
Sleep Supplications to Prevent Nightmares
-
“In Your name, O Allah, I die and I live.”
-
“In Your name, my Lord, I lie down and rise...”
-
“O Allah, You created my soul and You take it...”
-
“O Allah, protect me from Your punishment on the Day You resurrect Your servants” (three times).
-
“O Allah, I surrender my soul to You and entrust my affairs to You...”
-
“Praise be to Allah who fed us, gave us drink, sufficed us and sheltered us...”
-
“O Allah, Lord of the seven heavens and the magnificent Throne...”
-
“O Allah, Knower of the unseen and the witnessed, Creator of the heavens and the earth...”
Benefits of These Practices
Consistently following these Quranic verses and Sunnah practices calms the heart, prevents nightmares, allows for waking up for Fajr prayer without an alarm, and strengthens spiritual and psychological tranquility.



