Sleep and waking
The Sleep Schedule of Prophet Muhammad ﷺ: When to Sleep, How Long, and the Midday Nap
Updated
Short answer
The Prophet ﷺ slept early in the night, soon after 'Isha, rose in its last part to pray, went back to bed, and got up for Fajr when the adhan was called (Sahih Bukhari 1146). He disliked sleeping before 'Isha and chatting after it (Sahih Bukhari 568). No hadith sets a number of hours: you sleep what your body needs, as long as you are awake for the prayers. Sleep on your right side after wudu and the bedtime adhkar, and take a short midday nap when you can.
Does Islam set a sleep schedule?
Sleep is one of Allah's signs, not a weakness to be fought. Allah says: "And of His signs is your sleep by night and day and your seeking of His bounty" (Qur'an 30:23), and "And made your sleep [a means for] rest" (Qur'an 78:9).
The Shari'ah sets no fixed bedtime, wake-up time or number of hours. The right amount depends on age, health and the kind of work you do, and winter differs from summer. What is required is being awake and alert for the prayers.
How many hours of sleep is Sunnah?
No hadith gives a number. Five to eight hours is a common natural range, and it is fine to sleep less if you cope well, or more if your body needs it. Don't fight sleep when the body needs it. Al-Safarini said that resisting sleep too much leads to bad moods, muddled thinking and illness.
The other extreme is also criticised. Al-Fudayl and Ibn al-Qayyim spoke against too much sleep, which they said hardens the heart and breeds laziness. Claims that the Prophet ﷺ slept a set number of hours have no source (see the myths below). If you have a sleep problem, speak to a doctor.
When did the Prophet ﷺ sleep?
'A'ishah was asked about his night. She said he slept early in the night, got up in its last part to pray, and then went back to bed. When the adhan was called he rose, bathed if he needed to or made wudu, and went out for the prayer (Sahih Bukhari 1146).
He disliked sleeping before 'Isha and talking after it (Sahih Bukhari 568, Sahih Muslim 647). Al-Nawawi explains why: sleeping before 'Isha risks missing it, and staying up talking leads to missing the night prayer or Fajr, and to being sluggish the next day in worship and work. The dislike is for talk with no benefit. Study, a guest, time with family or making peace between people is fine, and "after 'Isha" means after praying it, not from the start of its time.
He slept on whatever was there, from a leather mattress stuffed with palm fibre to the bare ground, and he woke by himself.
The night of Dawud ʿalayhis-salām
The Prophet ﷺ said the prayer most beloved to Allah is the prayer of Dawud ʿalayhis-salām: "He used to sleep for half of the night and then pray for one third of the night and again sleep for its sixth part" (Sahih Bukhari 1131).
Here is how to apply this today. Take the time from after 'Isha to Fajr, sleep the first half, pray for a third, and sleep the last sixth. The wisdom, as Ibn Hajar relays it: you don't wear yourself out, and you wake for Fajr fresh and go to your work rested.
This is a voluntary ideal, not an obligation. The last third of the night is when Allah descends to the nearest heaven and asks who is calling on Him (Sahih Bukhari 1145). See our Tahajjud guide for how to pray it.
A simple Sunnah sleep schedule
Build it around your own 'Isha and Fajr times, which change with the seasons.
- Pray 'Isha, then wind down. Keep evening talk to what benefits, and don't sleep before 'Isha (Sahih Bukhari 568).
- Go to bed early. Do the bedtime routine below and sleep in the first part of the night (Sahih Bukhari 1146).
- If you pray at night, split the night. For example, if you have prayed 'Isha by 9 pm and Fajr comes at 5 am, that is eight hours. Following this method, you would sleep about four hours, pray for about two hours and forty minutes, and sleep the last hour and twenty minutes. Start small: even two rak'ahs before Fajr count.
- Wake for Fajr. Say the du'a for waking up, make wudu and pray. Our page on how to wake up for Fajr covers alarms and heavy sleepers.
- Rest at midday if you can. A short nap around the middle of the day, as described below.
If you work nights, your sleep will fall in the day, and that is allowed. The prayers still come first: wake for each one, pray, and sleep again. Joining prayers to protect your sleep is not allowed as a habit. On a particular day of real hardship, Dhuhr may be joined with 'Asr, but it must not become a routine. Our Muslim daily routine has more for shift workers.
In summer, in places far from the equator, 'Isha can come very late and Fajr very early. Each prayer still stays in its own time; joining Maghrib and 'Isha is only for real hardship, not every night. Follow your local mosque or scholars on the timetable there.
The Sunnah bedtime routine
The words of each du'a are on our du'a before sleeping page.
- Make wudu. The Prophet ﷺ told al-Bara': "Whenever you go to bed perform ablution like that for the prayer, lie on your right side…" (Sahih Bukhari 247). If you already have wudu, there is no need to repeat it.
- Dust off the bed. Shake out the bed with the edge of your garment before lying down, "for he does not know what has come on to it after him" (Sahih Bukhari 6320).
- Lie on your right side with your right hand under your cheek (Sahih Bukhari 6314).
- Recite the three Quls (al-Ikhlas, al-Falaq and an-Nas) into cupped hands, then wipe over your body, three times (Sahih Bukhari 5017).
- Recite Ayat al-Kursi (Sahih Bukhari 2311) and the last two verses of Surah al-Baqarah, which "suffice" the one who recites them at night (Sahih Bukhari 5009, Sahih Muslim 808).
- Say the tasbih: SubhanAllah 33 times, Alhamdulillah 33 times and Allahu Akbar 34 times. The Prophet ﷺ taught this to Fatimah and 'Ali at bedtime (Sahih Bukhari 5362).
- Make "O Allah, I submit myself to You…" your last words (Sahih Bukhari 6311).
A Muslim who goes to sleep remembering Allah and in a state of purity, is startled awake in the night and asks Allah for good in this world and the Hereafter, is given it (Abu Dawud 5042, sahih per al-Albani). If you like to read Surah al-Mulk at night, its virtue is that it is a surah of thirty verses that intercedes for a person until he is forgiven (Tirmidhi 2891, hasan per al-Albani).
Which side should you sleep on?
The Sunnah is the right side with the right hand under the cheek, and you are rewarded for it when you do it to follow the Prophet ﷺ. Sleeping on the left side is permitted, but you miss that Sunnah.
The Prophet ﷺ saw a man lying on his stomach and said, "Indeed such laying is not loved by Allah" (Tirmidhi 2768, hasan sahih per al-Albani). Some earlier scholars graded these reports weak. If a health condition means you can only sleep on your stomach, there is no blame, as long as you follow the Sunnah where you can.
The midday nap (qaylulah)
The midday nap was a normal part of the Companions' day. Sahl ibn Sa'd said: "We used to have a midday nap and take our meals after the Jumua (prayer)" (Sahih Bukhari 6279; also Sahih Bukhari 939 and Sahih Muslim 859).
The Prophet ﷺ napped at midday to gain strength for the night prayer, and there is the hadith "Take a midday nap, for the devils do not nap", hasan per al-Albani. Ibn al-Qayyim's view was that a midday nap is better than sleeping at the start or the end of the day.
The sources give no fixed time or length for the nap. Take a short rest around the middle of the day if your work allows, and make sure it does not cost you Dhuhr or 'Asr in their times.
Sleep myths to drop
- "Sleeping after Fajr is haram" or "it blocks your rizq." No text in the Quran or Sunnah forbids sleeping after Fajr, and the popular narration telling Fatimah to wake and "witness your Lord's provision" is not authentic. The Prophet ﷺ used to sit in his place after Fajr until sunrise (Sahih Muslim 670), and some of the salaf disliked morning sleep, but if you need that sleep to have strength for your work, there is nothing wrong with it.
- "Whoever sleeps after 'Asr and loses his mind has only himself to blame." This is false. Sleeping after 'Asr is permitted.
- "The Prophet ﷺ slept four (or eight) hours." No narration says so.
- "Early to bed, early to rise" is a hadith. It is a saying of Benjamin Franklin. The Sunnah basis for sleeping early is Sahih Bukhari 568.
- "Make wudu before sleep and an angel sleeps beside you, asking forgiveness every time you turn." This wording is not found in any reliable collection. Wudu before sleep is still Sunnah, from Sahih Bukhari 247.
Rest is a right, not a weakness
When 'Abdullah ibn 'Amr was fasting every day and praying all night, the Prophet ﷺ told him: "offer prayers and also sleep at night, as your body has a right on you, and your wife has a right on you, and your guest has a right on you" (Sahih Bukhari 1975).
Sleep taken with the intention of having strength for worship and work is part of the Sunnah, not a break from it. The aim is balance: enough sleep to stay well, not so much that the prayers slip away.
Frequently asked questions
What was Prophet Muhammad's ﷺ sleep schedule?
He slept early in the night after 'Isha, rose in its last part to pray, went back to bed, and got up for Fajr when the adhan was called (Sahih Bukhari 1146).
How many hours of sleep is Sunnah?
There is no fixed number. It depends on your age, health and work; what matters is being alert for the prayers.
What is the best time to sleep in Islam?
Early in the night, soon after 'Isha. The Prophet ﷺ slept early and rose in the last part of the night (Sahih Bukhari 1146).
Is it haram to sleep after Fajr?
No. No text forbids it. The Sunnah is to stay up remembering Allah until sunrise if you can, and some of the salaf disliked sleeping then, but sleeping after Fajr because you need the rest is allowed.
Which side is Sunnah to sleep on?
The right side, with your right hand under your cheek (Sahih Bukhari 247, 6314). The left side is permitted, but you miss the Sunnah.
What is qaylulah, and when should I take it?
Qaylulah is the midday nap; the Companions took it after Jumu'ah on Fridays (Sahih Bukhari 6279). The sources give no exact time or length, so rest briefly around midday without delaying the prayers.
In Tasleem
Tasleem shows your 'Isha and Fajr times each day, so you can plan your night between them, and the du'as section has the bedtime and waking adhkar in one place.
Sources
- https://islamqa.info/en/answers/96589
- https://islamqa.info/en/answers/21216
- https://islamqa.info/en/answers/20811
- https://islamqa.info/en/answers/194615
- https://islamqa.info/en/answers/171242
- https://islamqa.info/en/answers/98647
- https://islamqa.info/en/answers/102505
- https://islamqa.info/en/answers/89695
- https://islamqa.info/en/answers/14033
- https://islamqa.info/en/answers/1409
- https://islamqa.info/en/answers/96675
- https://islamqa.info/en/answers/197199
- https://islamqa.info/en/answers/2063
- https://islamqa.info/en/answers/160973
- https://sunnah.com/bukhari:247
- https://sunnah.com/bukhari:568
- https://sunnah.com/muslim:647
- https://sunnah.com/bukhari:939
- https://sunnah.com/bukhari:1131
- https://sunnah.com/bukhari:1145
- https://sunnah.com/bukhari:1146
- https://sunnah.com/bukhari:1975
- https://sunnah.com/bukhari:2311
- https://sunnah.com/bukhari:5009
- https://sunnah.com/muslim:808
- https://sunnah.com/bukhari:5017
- https://sunnah.com/bukhari:5362
- https://sunnah.com/bukhari:6279
- https://sunnah.com/muslim:859
- https://sunnah.com/bukhari:6311
- https://sunnah.com/bukhari:6314
- https://sunnah.com/bukhari:6320
- https://sunnah.com/muslim:670
- https://sunnah.com/abudawud:5042
- https://sunnah.com/tirmidhi:2768
- https://sunnah.com/tirmidhi:2891
- Qur'an 30:23, 78:9