- Published on
Sunnah of Sleeping — The Prophetic Bedtime Routine That Transforms Your Nights
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • Deen Back
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

Most of us collapse into bed exhausted — phone in hand, scrolling until sleep takes over. We wake up groggy, spiritually dry, and wondering why we feel disconnected. But for the Prophet ﷺ, going to sleep was not a shutdown. It was a ritual, a surrender, and an act of trust in Allah. His bedtime routine was so complete that scholars have documented it in detail across multiple hadith collections.
If you are looking for one daily practice that costs you nothing but a few minutes and promises spiritual protection, barakah in your sleep, and a better start to your morning — the sunnah of sleeping is it.
Why the Prophet's Bedtime Routine Matters
The Prophet ﷺ said:
إِذَا أَرَدْتَ أَنْ تَأْتِيَ فِرَاشَكَ فَتَوَضَّأْ وُضُوءَكَ لِلصَّلَاةِ ثُمَّ اضْطَجِعْ عَلَى شِقِّكَ الْأَيْمَنِ
"When you intend to go to your bed, perform wudu as you do for prayer, then lie on your right side."
— (Sahih Bukhari 247, Sahih Muslim 2710, sunnah.com)
This narration reveals something profound: the Prophet treated sleep as a form of worship preparation. You do not know if you will wake up. Sleeping in a state of wudu is an acknowledgment that this night could be your last — and you want to meet Allah in purity.
The sunnahs of sleeping are also a daily opportunity to cleanse the mind of the day's sins, worries, and noise. The bedtime adhkar act like a spiritual firewall — protecting the heart before it enters a state of vulnerability.
The Core Sunnahs of Sleeping
Make Wudu Before Bed
The Prophet's explicit instruction was to perform wudu before sleeping. Not a quick rinse, but the full prophetic wudu. This is not merely hygiene — it carries spiritual weight. Scholars note that dying in a state of wudu is a sign of a blessed death, and sleeping with wudu is, in a real sense, a rehearsal for that moment.
Start here: tonight, before you lie down, make wudu. Build it as a non-negotiable. The few minutes it takes become a transitional ritual that signals to your body and soul: the day is over, now I surrender to Allah.
Dust the Bed Three Times
أَحَدُكُمْ إِذَا أَرَادَ أَنْ يَأْتِيَ فِرَاشَهُ فَلْيَنْفُضْ فِرَاشَهُ بِدَاخِلَةِ إِزَارِهِ
"When one of you wants to go to his bed, let him wipe his bed with the inside of his garment."
— (Sahih Bukhari 6320, Sahih Muslim 2714, sunnah.com)
The Prophet did this three times. Practically, it clears the bed of anything that may have settled. Spiritually, it is an act of attention and care — not flopping onto the bed carelessly. Three deliberate movements, three conscious seconds before lying down.
Sleep on Your Right Side
ثُمَّ اضْطَجِعْ عَلَى شِقِّكَ الْأَيْمَنِ وَاجْعَلْ يَمِينَكَ تَحْتَ خَدِّكَ الْأَيْمَنِ
"Then lie on your right side, and place your right hand under your right cheek."
— (Sahih Muslim 2710, sunnah.com)
The right side is the prophetic position. Modern science has also found that sleeping on the right side reduces pressure on the heart. The Prophet did not have science textbooks — he had revelation and a wisdom that runs deeper than any study.
Recite Ayatul Kursi
مَنْ قَرَأَ آيَةَ الْكُرْسِيِّ حِينَ يَأْوِي إِلَى فِرَاشِهِ لَمْ يَزَلْ عَلَيْهِ مِنَ اللَّهِ حَافِظٌ وَلَا يَقْرَبُهُ شَيْطَانٌ حَتَّى يُصْبِحَ
"Whoever recites Ayatul Kursi before sleeping, Allah will appoint a guardian over him and shaytan will not come near him until morning."
— (Sahih Bukhari 2311, sunnah.com)
This narration was taught by a companion who caught a jinn stealing from the community treasury. The jinn himself revealed this secret to the companion as his condition for release. The Prophet confirmed it: "He told you the truth, though he is a liar." Ayatul Kursi is your spiritual shield every night.
Recite the Three Quls
The Prophet taught reciting Surah Al-Ikhlas, Al-Falaq, and An-Nas three times each before sleeping, cupping the hands, blowing into them, and then wiping over as much of the body as possible starting with the head and face.
كَانَ إِذَا أَوَى إِلَى فِرَاشِهِ كُلَّ لَيْلَةٍ جَمَعَ كَفَّيْهِ ثُمَّ نَفَثَ فِيهِمَا
"Every night when he went to his bed, he would cup his hands together and blow into them."
— (Sahih Bukhari 5017, sunnah.com)
This practice combines recitation, breath, and touch — three layers of spiritual protection that cover the body before sleep.
Say the Sleeping Dua
بِاسْمِكَ اللَّهُمَّ أَمُوتُ وَأَحْيَا
Bismika Allahumma amutu wa ahya
"In Your name, O Allah, I die and I live."
— (Sahih Bukhari 6312, sunnah.com)
This is the dua to say at the moment of lying down. The words acknowledge something real: sleep is a minor death. You are surrendering consciousness, and only Allah can return it to you. Every morning you wake is a resurrection — a mercy, not a given.
How to Make This a Daily Habit
The biggest challenge with bedtime sunnahs is that they happen when you are most tired. Your willpower is at its lowest. The nafs finds a hundred reasons to skip just this once.
The solution is to not rely on willpower. Build the routine before you are tired.
Habit stack it to your Isha prayer. After Isha and its sunnah rakats, instead of going to your phone, go directly to make wudu for sleep. The momentum from prayer carries you. By the time you lie down, the wudu is done, and all you need is the adhkar.
Place a physical reminder. Some people put their prayer beads on their pillow as a cue: when you see them, recite the three Quls before any scrolling.
Start with one sunnah, not all. If you currently do none of the bedtime sunnahs, begin with just the sleeping dua. Say Bismika Allahumma amutu wa ahya every night for a week. Then add Ayatul Kursi. Then the three Quls. Small wins compound.
Track Your Bedtime Sunnah Streak — Starting Tonight
DeenBack helps you build prophetic habits with daily tracking and streaks. Add the sunnah of sleeping to your routine and watch your nights — and mornings — transform.
Free download. Premium features available in-app.
Why This Changes Your Mornings
The sunnah of sleeping and the sunnah of waking up are inseparable. When you go to sleep in a state of wudu, having recited the adhkar and surrendered to Allah, you wake differently. There is less of the usual spiritual grogginess. The morning dhikr flows more naturally because you ended last night in remembrance.
The Prophet said: "The knots of shaytan on the back of your head are loosened by waking up and mentioning Allah, then performing wudu, then praying." (Sahih Bukhari 1142). The bedtime sunnahs prepare you for this. You are not starting from zero in the morning — you ended the night in the right place.
Read more about the full prophetic approach to waking in dua for waking up, and build the complete morning-to-night prophetic routine with the evening adhkar guide. The dua for sleeping article covers additional supplications for the night in more detail.
Common Questions
Do I have to recite the three Quls in Arabic?
Yes, for the sunnah to be as the Prophet practiced it. The three Quls are short surahs that can be memorized in one sitting. If you do not yet have them memorized, reading from a phone or Quran is fine — begin memorization this week.
What if I fall asleep without finishing the adhkar?
This is common, especially when you are very tired. The solution is to do the adhkar while still sitting up, before you lie down. Set a reminder on your phone for 20 minutes before your expected sleep time. When the reminder fires, put the phone down and do the sunnahs.
Is it OK to sleep on my back or stomach?
The Prophet explicitly commanded the right side. Sleeping on the stomach is specifically disliked in Islam — narrations describe it as the way of the people of Fire. Sleeping on the back is not forbidden but is not the sunnah. Right side is the clear prophetic teaching.
Can I listen to Quran or nasheeds while falling asleep?
The authentic practice was silence with the bedtime adhkar, not audio playing in the background. The purpose of the adhkar is conscious remembrance, not background noise. Falling asleep to audio while your mind wanders elsewhere is not the same as the prophetic practice.
Your Night Is a Gift — Treat It That Way
The Prophet ﷺ knew that every night is uncertain. He did not take sleep for granted. The bedtime routine he left us is not a burden — it takes three to five minutes. It is a small set of actions that place your night under Allah's protection and your morning under His mercy.
Tonight, before you sleep: make wudu, dust the bed three times, lie on your right side, recite Ayatul Kursi and the three Quls, say Bismika Allahumma amutu wa ahya. Do this every night for thirty days.
Pair this with the sunnah of eating and you have the prophetic bookends of your day — the first and last meals of consciousness wrapped in remembrance. This is how the Prophet turned ordinary moments into worship.
Sleep Like the Prophet — Build the Habit Tonight
DeenBack tracks your daily prophetic sunnahs so you can build the bedtime routine the Prophet lived. One streak at a time, transform your nights and your mornings.
Free download. Premium features available in-app.
Frequently Asked Questions
What is the sunnah dua before sleeping?
The Prophet taught 'Bismika Allahumma amutu wa ahya' — 'In Your name, O Allah, I die and I live.' He also taught reading Ayatul Kursi, the last two ayahs of Surah Baqarah, and the three Quls (Ikhlas, Falaq, Nas) before sleeping. These are all established in authentic hadith.
Which side did the Prophet sleep on?
The Prophet slept on his right side, placing his right hand under his right cheek. He made this the sunnah: 'When you go to your bed, perform wudu as you do for prayer, then lie on your right side.' (Bukhari 247, Muslim 2710)
Is it sunnah to make wudu before sleeping?
Yes. The Prophet commanded: 'When you intend to sleep, perform wudu as you do for prayer.' This is strongly recommended (sunnah muakkadah according to many scholars), especially because you do not know if you will wake up. Sleeping in a state of purity is spiritually significant.
What if I fall asleep without doing the bedtime adhkar?
Make it a habit to do the adhkar while still sitting up, before you lie down. If you miss them, do not despair — Allah is Most Merciful. The goal is to build consistency, not perfection. Resume the habit the next night and use the DeenBack app to track your streak.
What did the Prophet do immediately before sleeping?
The Prophet would make wudu, lie on his right side, recite the bedtime adhkar (Ayatul Kursi, the three Quls, the sleeping dua), dust off his bed three times (blowing into it), and make a dhikr before closing his eyes. This sequence is narrated across Bukhari, Muslim, and Abu Dawud.
