Allah says in the Quran: "Allah takes souls at the time of their death, and those that have not died [He takes] during their sleep." (Az-Zumar 39:42). In Islamic understanding, sleep is a small death — the soul departs, the body rests, and in the morning Allah returns it as an act of mercy. This means that every believer who sleeps with the right etiquette enters the night in the care of their Lord.
The Prophet ﷺ did not leave even the act of sleeping without guidance. There is a complete, short routine of intentions, recitations, and bodily positions that transforms an ordinary biological need into an act of worship. Most of it takes under five minutes — and scholars report that keeping it consistently is among the easiest habits to build.
Before You Lie Down: The Prophetic Checklist
- Be in a state of wudu. The Prophet ﷺ said: "When you go to your bed, perform wudu as you would for prayer, then lie down on your right side." (Abu Dawud) Although wudu before sleep is not obligatory, it carries a specific promise: an angel remains with the sleeping person and prays for forgiveness on their behalf until they wake.
- Dust the bed three times, saying Bismillah. The Prophet ﷺ instructed: "When one of you goes to his bed, let him take hold of his waist-wrap and dust off his bed with it, then say Bismillah." (Bukhari, Muslim) This precautionary act is a reminder that we do not know what has gathered in our absence.
- Lie on your right side. The Prophet ﷺ consistently lay on his right side before sleeping. (Bukhari) He also supplicated: Allahumma bismika amutu wa ahya as he settled in. Lying on the right is the Sunnah position and connects the sleeper to the prophetic routine.
- Recite the three Quls three times each. Blow into cupped hands after reciting Surah Al-Ikhlas, Surah Al-Falaq, and Surah An-Nas, then wipe over as much of the body as possible, beginning from the head and face. Repeat the whole sequence three times. (Bukhari) Aisha (RA) described this as the Prophet's ﷺ regular practice every night.
- Recite Ayatul Kursi. The Prophet ﷺ said: "Whoever recites Ayatul Kursi when he lies down to sleep, Allah will appoint a guardian over him and no devil will come near him until morning." (Bukhari) This is one of the most powerful single acts of protection in the entire Sunnah.
- Recite the last two ayahs of Surah Al-Baqarah (2:285–286). The Prophet ﷺ said: "Whoever recites the last two ayahs of Surah Al-Baqarah at night, they will suffice him." (Bukhari, Muslim) Scholars understand 'suffice' to mean protection from evil throughout the night.
- Perform the tasbih of Fatimah. When his daughter Fatimah (RA) asked for a servant to ease her hardship, the Prophet ﷺ said: "Shall I not direct you to something better? Say SubhanAllah 33 times, Alhamdulillah 33 times, and Allahu Akbar 34 times before you sleep. That is better for you than a servant." (Bukhari) He added that this remembrance gives you the strength you were seeking.
The Bedtime Dua
"O Allah, with Your name I die and I live." The Prophet ﷺ would say this when he lay down to sleep. (Bukhari)
This brief dua captures the entire Islamic relationship with sleep: the believer entrusts the night to Allah. It is also narrated that the Prophet ﷺ would say: "Allahummaj-'al awwala hadhihi al-layli salahan, wa awsatahu falahan, wa akhirahu najahan" — "O Allah, make the beginning of this night righteous, its middle successful and its end prosperous." (Abu Dawud)
What to Avoid When Sleeping
- Avoid sleeping on your stomach. Ya'ish ibn Tikhfah al-Ghifari (RA) narrated that the Prophet ﷺ came upon him sleeping on his front and said: "This is a way of lying down that Allah dislikes." (Abu Dawud, Ibn Majah) Most scholars consider sleeping on the stomach to be disliked (makruh) but not forbidden.
- Avoid sleeping in a state of major impurity (janabah) without at least making wudu. The Prophet ﷺ instructed that a person in the state of janabah should perform wudu before sleeping. (Bukhari) This is strongly recommended.
The Dua Upon Waking
"All praise is for Allah who has given us life after causing us to die, and to Him is the resurrection." (Bukhari) The Prophet ﷺ would say this immediately upon waking.
With these words the believer wakes as they slept — in the remembrance of Allah. To continue this state of worship throughout the day, combine the waking dua with the full morning adhkar, and wind down each evening with the evening adhkar guide.
Sleep and Wake with the Sunnah — Get DeenPal
Every bedtime and waking dua with Arabic, transliteration and audio, plus the morning and evening adhkar, all in one free app.
Download DeenPal Free