Published on

How Did the Prophet Sleep? The Sunnah of Sleep Explained

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education • Deen Back

بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ

In the name of God, the Most Gracious, the Most Merciful.

A prayer mat and Quran in the quiet stillness of a late night room, evoking the sunnah of sleeping early and waking for the last third of the night

Most people spend roughly a third of their lives sleeping. The Prophet ﷺ understood sleep not as dead time but as a spiritual opportunity — a daily practice with its own sunnahs, its own duas, and its own relationship with the night that changes how you wake.

The way the Prophet slept is one of the most practically applicable sunnahs for modern Muslims, because poor sleep is near-universal and the prophetic model offers a complete system.

What the Prophet Actually Did Before Sleep

The Companions documented the Prophet's nighttime routine with remarkable detail. Here is what we know from authentic narrations:

He Made Wudu Before Sleeping

The Prophet ﷺ instructed:

"When you go to your bed, perform wudu as you do for prayer, then lie down on your right side."

— (Sahih Bukhari 247)

Wudu before sleep is not just ritual — it is the physical and spiritual preparation for entering a vulnerable state. Sleep in Islamic teaching is a "minor death" (wafat sughra). The night belongs to Allah in a particular way. Beginning it in a state of purity is the same logic as approaching prayer in wudu.

He Recited the Three Quls

Every night, the Prophet ﷺ recited Surah Al-Ikhlas, Al-Falaq, and An-Nas three times each. He would blow gently into his cupped hands and wipe over his face and whatever he could reach of his body. He did this three times.

"He used to blow in his hands and recite the Quls, then wipe over his body."

— (Sahih Bukhari 5748)

This practice of the three quls before sleep is a spiritual protection. The surahs themselves address seeking refuge from three sources of harm: doubt (Al-Ikhlas reminds of tawhid), the harm of creation (Al-Falaq), and the harm of the whispering shaitan (An-Nas). For a full exploration of their protection, see benefits of Surah Ikhlas and benefits of Surah Falaq.

He Slept on His Right Side

Sleeping on the right side is the established sunnah. The Prophet ﷺ specifically discouraged sleeping on the stomach:

"Do not sleep on your stomachs, for it is the way the people of Hellfire lie."

— (Ibn Majah 3723)

This is understood as a strong discouragement. Sleeping on the right side is the recommended position. If medical need requires another position, that takes precedence.

He Said the Sleeping Dua

The Prophet ﷺ would say before sleeping:

بِاسْمِكَ اللَّهُمَّ أَمُوتُ وَأَحْيَا

Bismika Allahumma amutu wa ahya

"In Your name, O Allah, I die and I live."

— (Sahih Bukhari 6324)

And upon waking:

الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا وَإِلَيْهِ النُّشُورُ

Alhamdulillahil-ladhi ahyana ba'da ma amatana wa ilayhin-nushur

"All praise is for Allah who gave us life after having taken it from us, and unto Him is the Resurrection."

For the full collection of sleep duas, see dua for sleeping and dua for waking up.

What Time Did the Prophet Sleep?

The Prophet ﷺ generally went to sleep after Isha — usually early, sometime between shortly after Isha prayer and the middle of the night. He would then wake in the last third of the night for Tahajjud, pray, and continue into Fajr.

This early-to-bed, divided-sleep model is physiologically consistent with what sleep researchers have found about natural human sleep patterns before artificial lighting: people historically slept in two phases, with a period of wakefulness in the middle of the night.

The Prophet ﷺ actively used this middle-of-night wakefulness for the most intimate worship possible — the Tahajjud prayer, when "Allah descends to the lowest heaven and asks: Is there anyone calling on Me so I can respond?" (Sahih Bukhari 1145).

For practical guidance on establishing Tahajjud, see how to wake up for Tahajjud.

What the Prophet Did NOT Do Before Sleep

The sunnah is not only about what to add — it also tells us what the Prophet avoided:

He did not sleep on his stomach. Already noted above.

He did not stay up late in idle conversation. The Prophet ﷺ disliked sleeping before Isha and disliked staying up in idle talk after it. The time after Isha has a spiritual quality — it is part of the night's sanctity.

He did not sleep immediately after eating. The prophetic model included activity after eating, not immediate sleep.

Build a Sunnah Sleep Routine With DeenBack

DeenBack helps you track evening adhkar, Quran recitation before bed, and Fajr wake-up streaks — turning the prophetic sleep routine from knowledge into a living daily habit.

Download on the App StoreGet it on Google Play

Free download. Premium features available in-app.

The Midday Nap — Qaylulah

The Prophet ﷺ practiced and encouraged a short midday nap called qaylulah (القيلولة):

"Take the midday nap, for the shayatin do not take midday naps."

— (Abu Dawud, authentic chain according to Al-Albani)

The qaylulah is typically a short rest around midday, before or just after Dhuhr. It is not a requirement but a sunnah. For those who wake early for Fajr and maintain a prophetic sleep schedule, the midday rest helps sustain energy and mental clarity for the rest of the day.

Why Sleeping After Fajr Is Problematic

One of the most common patterns among modern Muslims is: pray Fajr (or sleep through it), then sleep until late morning. The latter part — sleeping after Fajr through the early morning hours — was specifically marked by the Prophet as a time of barakah:

"O Allah, bless my ummah in their early mornings."

— (Tirmidhi 1212)

Sleeping through the early morning hours means missing the period the Prophet specifically prayed would have barakah. The alternative is what the sunnah actually models: go to sleep early, wake for Fajr, remain awake (or at minimum, do morning adhkar before any rest), and if needed, take the midday nap instead.

Signs You Are Living the Sunnah of Sleep

You are implementing the prophetic sleep model when:

  • You perform wudu before going to bed as a consistent habit
  • You recite the three quls and make the sleeping dua before closing your eyes
  • Your phone is not the last thing you interact with before sleep
  • You wake for Fajr consistently, because you slept early enough to do so
  • You no longer feel guilty about a short midday rest — it is a sunnah

Common Questions

Can I recite other surahs or duas before sleep if I do not know the three quls from memory? Yes. Any Quran recitation, Ayatul Kursi, or authentic sleeping duas from the Prophetic tradition are all valid and beneficial. The three quls are the most specifically narrated practice. Start with memorizing them if you have not.

Is it okay to sleep after eating suhoor before Fajr? Yes, sleeping between suhoor and Fajr is fine — the concern is sleeping AFTER Fajr through the morning. Rise for Fajr prayer, and if you need more sleep for a valid reason, sleeping briefly after Fajr is less ideal but not prohibited.

What if I cannot sleep on my right side due to a medical condition? Sleep in whatever position your health requires. The rulings of sunnah are always accommodated by necessity. The intention to follow the sunnah, blocked by genuine health need, carries its own reward.

Start Tomorrow With the Prophetic Morning — Track Your Fajr Streak

The sunnah of sleep is really about the sunnah of the morning. DeenBack helps you protect Fajr, track morning adhkar, and build the prophetic daily rhythm that makes every day start right.

Download on the App StoreGet it on Google Play

Free download. Premium features available in-app.

Frequently Asked Questions

How did the Prophet Muhammad sleep?

The Prophet ﷺ slept on his right side, placed his right hand under his right cheek, went to sleep early (after Isha), woke for Tahajjud in the last third of the night, and made wudu before sleeping. He recited specific surahs (Al-Ikhlas, Al-Falaq, An-Nas) and blew into his hands before wiping over his body. He avoided sleeping on his stomach and typically avoided heavy conversation or activities late at night.

Why did the Prophet sleep on his right side?

The Prophet ﷺ said: 'When you go to your bed, perform wudu as you do for prayer, then lie on your right side.' (Sahih Bukhari 247). Modern sleep science also finds that right-side sleeping reduces acid reflux and aids digestion. The Islamic ruling is that sleeping on the right side is sunnah and encouraged; sleeping on the stomach is specifically discouraged.

What dua did the Prophet say before sleeping?

Among the duas the Prophet ﷺ said before sleeping: 'Bismika Allahumma amutu wa ahya' — 'In Your name, O Allah, I die and I live' (Sahih Bukhari 6324). He also recited Ayatul Kursi, and recited Al-Ikhlas, Al-Falaq, and An-Nas three times each, blowing gently into his hands and wiping over his body.

Did the Prophet sleep during the day?

Yes, the Prophet ﷺ sometimes took a midday nap called qaylulah — a short rest around midday or early afternoon. He recommended this practice and it has physiological benefits confirmed by modern research. The qaylulah is a sunnah nap, typically taken before Dhuhr.

Is sleeping after Fajr sunnah or disliked?

Sleeping immediately after Fajr is considered disliked (makruh) by many scholars because the early morning time has specific barakah. The Prophet ﷺ supplicated for his ummah to have barakah in their early mornings (Tirmidhi 1212). Sleeping through this window means missing it. If you need rest, the midday qaylulah is the prophetic alternative.