Sleeping in Islam
Sleep with wudu, wake with gratitude
Most people fall asleep scrolling through their phones, their minds still buzzing with the noise of the day. They lie in whatever position feels comfortable, wake to an alarm they resent, and begin the next day without a moment of reflection. The Prophet Muhammad (peace be upon him) approached sleep entirely differently. He performed wudu before lying down. He slept on his right side with his hand beneath his cheek. He recited specific verses of the Quran and made dua that turned the act of closing his eyes into a moment of surrender to Allah. He said: “In Your name, O Allah, I die and I live”, a statement that transforms sleep from unconsciousness into a nightly rehearsal for the meeting with one’s Creator. This article explores the prophetic etiquette of sleep, the hadiths that preserve it, and how Islam turns the most passive part of our day into an act of worship, protection, and spiritual preparation.
What the Prophet Taught About Sleep
The Prophet (peace be upon him) did not treat sleep as dead time. He gave his Ummah a complete bedtime routine that covers purification, posture, protection, and remembrance of Allah. Every step has a purpose, and together they transform the transition from wakefulness to sleep into a deliberate act of faith.
The Sunnah Before Sleep
Perform wudu as you would for prayer before lying down. Dust off the bed three times with the edge of your garment. Lie on your right side and place your right hand under your cheek. Recite Ayat al-Kursi for protection from Shaytan until morning. Blow into your cupped hands after reciting Surah Al-Ikhlas, Al-Falaq, and An-Nas, and wipe over your body.
What to Avoid
Do not sleep on your stomach as the Prophet said this position is disliked by Allah. Do not stay up talking unnecessarily after Isha prayer. Do not sleep before Isha as this may cause you to miss the prayer. Do not leave fire or flames burning unattended in the home at night. Do not neglect the evening adhkar, as they serve as a shield of protection.
The Prophetic Way of Sleep
Sleep on Your Right Side
Al-Bara ibn Azib (may Allah be pleased with him) narrated that the Prophet (peace be upon him) said: “When you go to bed, perform wudu as you would for prayer, then lie down on your right side” (Bukhari 6311, Muslim 2710). This is the most consistently narrated sleeping posture from the Sunnah. The Prophet would place his right hand under his right cheek and then recite the bedtime dua. Modern sleep science has found that right-side sleeping reduces pressure on the heart, may improve circulation, and avoids the negative effects of stomach sleeping on the spine and breathing. But for the Muslim, the primary motivation is not science. It is following the example of the Prophet.
“When you go to bed perform wudu then lie on your right side”
The Bedtime Dua: Surrendering to Allah
After lying on his right side, the Prophet would recite one of the most profound duas in the Sunnah: “O Allah, I have submitted myself to You, turned my face to You, entrusted my affairs to You, and sought Your refuge out of desire for You and fear of You. There is no refuge and no place of safety from You except with You. I believe in Your Book which You have revealed and in Your Prophet whom You have sent” (Bukhari 6311, Muslim 2710). The Prophet then said: “If anyone recites these words and dies during the night, he will die upon the fitrah (natural state of Islam).” This transforms the moment of falling asleep into an act of total surrender to Allah. The believer does not know whether they will wake. So the last words on their tongue should be words of faith.
Protection Through Recitation
The Prophet (peace be upon him) taught multiple layers of spiritual protection before sleep. Ayat al-Kursi is the most powerful of them. The Prophet said: “Whoever recites Ayat al-Kursi before sleeping will have a protector from Allah, and no devil will come near him until morning” (Bukhari 2311). In addition, Aisha (may Allah be pleased with her) narrated that every night the Prophet would cup his hands, blow into them after reciting Surah Al-Ikhlas, Al-Falaq, and An-Nas, and then wipe his hands over his body, starting with his head and face (Bukhari 5017). He would repeat this three times. This nightly routine created a spiritual shield around the believer before the vulnerability of sleep.
“Whoever recites Ayat al-Kursi before sleeping no devil will come near him”
Never Sleep on Your Stomach
Ya’ish ibn Tikhfah al-Ghifari (may Allah be pleased with him) narrated: “I was lying on my stomach in the mosque when someone nudged me with his foot and said: ‘Lying this way is disliked by Allah.’ I looked up and saw that it was the Messenger of Allah” (Abu Dawud 5040). The Prophet’s disapproval of stomach sleeping was clear and direct. Modern sleep research has confirmed that sleeping face-down increases pressure on the spine, restricts breathing, and can lead to neck and back pain. Once again, the Sunnah preceded the science by over a thousand years.
The Prophet’s Bed: A Leather Mat Stuffed with Palm Fibres
Umar ibn al-Khattab (may Allah be pleased with him) once visited the Prophet (peace be upon him) in his upper room. When he entered, he saw the Messenger of Allah lying on a simple mat made of palm tree leaves, with nothing between him and the mat. Beneath his head was a leather pillow stuffed with palm fibres. Umar looked around the room. There was nothing in it but a few leaves piled at his feet and a water skin hanging on the wall.
The imprint of the rough mat was visible on the Prophet’s side. Umar’s eyes filled with tears. “O Messenger of Allah,” he said, “the Emperor of Rome and the King of Persia sleep on silk and gold, and you are the Messenger of Allah.” The Prophet replied: “Are you not content that for them is the world, and for us is the Hereafter?” (Bukhari and Muslim).
This scene captures something essential about the Prophet’s relationship with sleep. He did not seek comfort for its own sake. His bed was the simplest possible surface. His pillow was stuffed with rough fibres. Yet he slept with more peace than any king, because his heart was at rest with Allah. The lesson is not that Muslims should seek discomfort. The lesson is that quality of sleep comes from quality of soul, not quality of mattress. A person who lies down in a state of wudu, reciting the words of Allah, surrendering their affairs to their Lord, will find a peace that no luxury bedding can provide.
The Qaylulah: The Prophetic Afternoon Nap
The Prophet (peace be upon him) encouraged a short midday rest known as the Qaylulah. Anas ibn Malik (may Allah be pleased with him) narrated that the Prophet would take a brief nap after Dhuhr, before the afternoon prayer. This was not laziness. It was strategic rest that prepared the body and mind for the remainder of the day and, importantly, for the night prayer (Tahajjud). The Prophet said: “Take a nap, for the devils do not nap” (al-Tabarani). This hadith frames the afternoon rest not merely as a health benefit, but as a spiritual advantage: rest now so you can stand before Allah later when others are sleeping.
“Take a nap for the devils do not nap”
Modern research from Harvard and NASA has confirmed that a short afternoon nap of 20 to 30 minutes significantly improves alertness, cognitive performance, and mood. Studies have also linked regular short naps to a lower risk of heart disease, reduced stress hormones, and enhanced memory consolidation. Cultures that have practised the siesta for centuries, from the Mediterranean to East Asia, now have scientific evidence supporting what the Prophet taught: a brief midday rest is not a luxury. It is a natural human need that Islam honoured long before modern sleep science existed.
Islam’s Answer to Modern Life
The prophetic teachings on sleep speak directly to one of the defining health crises of the modern world.
The Global Sleep Crisis
According to the World Health Organisation, sleep deprivation is now a global epidemic. In industrialised nations, the average adult sleeps less than seven hours per night, well below the recommended eight. The consequences include increased risk of obesity, heart disease, diabetes, depression, and impaired cognitive function. The Prophet’s approach offers a powerful alternative: go to bed after Isha, avoid unnecessary late-night conversation, rest briefly after Dhuhr, and rise for Fajr. This is a natural sleep schedule aligned with the circadian rhythm that modern chronobiologists now recognise as optimal.
The Screen Before Bed
The Prophet disliked conversation after Isha unless it served a purpose. He encouraged going to bed soon after the night prayer. Today, the equivalent of idle post-Isha chatter is the screen. Blue light from phones and tablets suppresses melatonin, the hormone that regulates sleep. Social media stimulates the mind at exactly the moment it needs to wind down. The Sunnah alternative is a bedtime routine of wudu, dhikr, and Quran, a sequence that calms the nervous system, engages the soul rather than the ego, and prepares the body for deep, restorative rest. What modern sleep hygiene experts now recommend, the Prophet practised fourteen centuries ago.
Sleep as Worship
Perhaps the most transformative insight Islam offers about sleep is that it can be worship. The Prophet said: “Whoever goes to bed in a state of purity and remembers Allah until sleep overtakes him will not turn over during the night and ask Allah for something of this world or the Hereafter except that it will be granted to him” (Musnad Ahmad). Sleep is not wasted time. For the believer who prepares for it with wudu, dhikr, and sincere dua, every hour of sleep becomes an hour of answered prayer. No productivity hack, no sleep supplement, no weighted blanket can compete with that.
“Whoever sleeps in purity remembering Allah his dua will be answered”
A Reflection from the Quran
Allah says in Surah Az-Zumar of the Quran:
اَللّٰہُ یَتَوَفَّی الۡاَنۡفُسَ حِیۡنَ مَوۡتِہَا وَالَّتِیۡ لَمۡ تَمُتۡ فِیۡ مَنَامِہَا ۚ فَیُمۡسِکُ الَّتِیۡ قَضٰی عَلَیۡہَا الۡمَوۡتَ وَیُرۡسِلُ الۡاُخۡرٰۤی اِلٰۤی اَجَلٍ مُّسَمًّی
“Allah takes the souls at the time of their death, and those that have not died during their sleep. He keeps those for which He has decreed death, and releases the others for an appointed term.”
This verse reveals something extraordinary about sleep: every night, Allah takes the soul. Sleep is not merely rest. It is a temporary death, a nightly return of the soul to its Creator. Allah holds it for those whose time has come, and releases it for those who will wake to another day. This is why the Prophet said “In Your name, O Allah, I die and I live” before sleeping, and “All praise is due to Allah who gave us life after causing us to die” upon waking. Every morning is a resurrection. Every night is a rehearsal. The believer who understands this will never again treat sleep as trivial.
Frequently Asked Questions
The Sunnah involves performing wudu before bed, dusting off the bedsheet, lying on your right side with your right hand under your cheek, reciting Ayat al-Kursi and the last three surahs of the Quran, and making the bedtime dua of surrender to Allah. The Prophet also recommended avoiding sleeping on the stomach.
The most well-known is: “Bismika Allahumma amutu wa ahya” (In Your name, O Allah, I die and I live). A longer dua narrated by al-Bara ibn Azib includes surrendering oneself to Allah, turning to Him, and affirming belief in His Book and His Prophet (Bukhari and Muslim). The Prophet said whoever recites this and dies that night will die upon the fitrah (natural state of faith).
It is not haram in the strict sense, but it is strongly disliked (makruh). The Prophet (peace be upon him) told a man lying on his stomach in the mosque that “this way of lying is disliked by Allah” (Abu Dawud 5040). The scholars advise avoiding it and sleeping on the right side instead, in accordance with the Sunnah.
The Qaylulah is a short afternoon nap that the Prophet (peace be upon him) practised and encouraged. It typically takes place after Dhuhr prayer. The Prophet said: “Take a nap, for the devils do not nap” (al-Tabarani). Modern research confirms that a 20-to-30-minute nap improves alertness, mood, and heart health. In the prophetic context, the Qaylulah also helped prepare the believer for the night prayer (Tahajjud).
The Prophet recommended several: Ayat al-Kursi (2:255) for protection from Shaytan until morning (Bukhari). The last two verses of Surah Al-Baqarah (2:285-286), which the Prophet said are sufficient for whoever recites them at night (Bukhari). Surah Al-Ikhlas, Al-Falaq, and An-Nas, blown into the cupped hands and wiped over the body three times (Bukhari). Together, these form a comprehensive shield of spiritual protection.
The Prophet instructed: “When you go to bed, perform wudu as you would for prayer” (Bukhari and Muslim). The purpose is to go to sleep in a state of purity. Since sleep is described in the Quran as a temporary taking of the soul by Allah (39:42), the believer prepares for this nightly “death” just as they prepare for prayer: purified, oriented toward their Lord, and with words of faith on their tongue.
The Prophet Muhammad (peace be upon him) transformed sleep from an unconscious collapse at the end of the day into a deliberate, protected, and spiritually charged act. He purified himself before lying down, chose his posture with intention, surrounded himself with the words of Allah, and surrendered his soul to his Lord with full awareness that he might not wake. Every element of his bedtime routine was designed to ensure that if this was his last night on earth, he would meet Allah in a state of faith. For the Muslim who adopts this Sunnah, sleep is never wasted time. It is the final act of worship before the soul returns to its Creator, and the first act of gratitude when it is given back.
As Allah, Al-Wakil (The Trustee, The Disposer of Affairs), holds every soul in His care through the vulnerability of sleep and returns it each morning as a mercy, may we entrust our nights to Him with the same faith the Prophet showed on his simple mat of palm leaves, and wake each day grateful for the gift of another breath.
May Allah grant us restful sleep, protect us through the night, and wake us each morning with hearts renewed in faith and gratitude. Ameen.
