The Last Words Before the Lights Go Out: Your Complete Dua for Sleeping
There is a moment every night — that quiet, in-between pause when the phone goes down, the room grows dark, and everything finally slows — where most of us simply close our eyes and drift away. Just like that. But the Prophet Muhammad ﷺ used that exact moment differently. He treated it as a threshold. And the dua for sleeping he taught us is far more than a bedtime prayer — it is a deliberate act of surrender to Allah before sleep takes you.
Sleep, in Islamic understanding, is a minor death (wafah). The soul departs. The body rests. There is no guarantee of waking. And so the Prophet ﷺ — who was supremely conscious of his Lord every single hour — prepared for it with specific supplications, specific recitations, and a specific posture. That preparation is what this guide is about.
Key Takeaways
- The primary dua for sleeping is: 'Bismika Allahumma amutu wa ahya' — 'In Your name, O Allah, I die and I live' — narrated in Sahih Al-Bukhari.
- The complete pre-sleep Sunnah routine includes: blowing the three Quls (Al-Ikhlas, Al-Falaq, An-Nas) into the hands, reciting Ayat ul Kursi (2:255), and reading Surah Al-Mulk (Surah 67).
- The Sunnah sleeping position is on the right side, following the Prophet's ﷺ practice narrated in Sahih Al-Bukhari.
- Upon waking, a separate dua is recited: 'Alhamdulillahilladhi ahyana ba'da ma amatana wa ilayhin-nushur' — meaning 'All praise is for Allah who gave us life after causing us to die, and to Him is the resurrection.'
- Teaching children this routine from a young age — in short, gentle steps — builds a lifelong habit of conscious ibadah (worship) before sleep.
Let's walk through every step — Arabic text, transliteration, meaning, and hadith source — so that tonight, when the lights go out, you'll know exactly what to say.
Why the Dua for Sleeping Is One of the Most Powerful Acts of Ibadah
Think about this honestly: how many words do you say to Allah in those final minutes before sleep? For most of us — even committed, practicing Muslims — the honest answer is: not many. The evening adhkar (morning and evening remembrances) can feel like a long list, daunting after a tiring day. And so we skip them. Night after night.
But here is what those supplications actually are: they are armour. Specifically, the classical scholars describe the pre-sleep adhkar as Hisn (a fortress) that the believer constructs around themselves before entering the vulnerable state of sleep. Imam Ibn Al-Qayyim Al-Jawziyyah — one of the most rigorous scholars of the 14th century — devoted significant portions of his monumental work Zad al-Ma'ad (Provisions for the Hereafter) to the dhikr (remembrance) of evening and sleep, explaining that these supplications carry specific protective and spiritual functions that the believer who neglects them simply goes without.
That is not meant to frighten you. It is meant to make you pause and realize what you have been leaving at the door every night.
"'Whoever recites Ayat ul Kursi every night before sleeping will be protected by Allah, and Shaytan will not come near him until morning.' — Narrated in Sahih Al-Bukhari"
One ayah (verse). Every night. And the most authentic hadith collection in Islam records its protective virtue directly.
The bedtime dua routine isn't a long ritual that requires an hour. For most adults, the complete Sunnah practice takes under five minutes. Five minutes of conscious worship in exchange for divine protection throughout every hour of sleep — that is, when you think about it, the most extraordinary exchange imaginable.
Surah Al-Mulk
Blessed is the One in Whose Hands rests all authority. And He is Most Capable of everything
Surah Al-Mulk opens with the declaration of Allah's sovereignty over all existence — and it is no coincidence that the Prophet ﷺ made it a nightly companion before sleep. When you recite it, you are consciously affirming, before surrendering to unconsciousness, that you belong entirely to the One whose dominion never sleeps.
The Complete Pre-Sleep Sunnah Routine: Step by Step
The Prophet ﷺ did not simply recite one dua and sleep. His pre-sleep routine was a layered sequence — each element carrying its own virtue and purpose. Here it is, in full.
Step 1: The Three Quls — Blown Into the Hands
Every night, the Prophet ﷺ would recite Surah Al-Ikhlas (Surah 112), Surah Al-Falaq (Surah 113), and Surah An-Nas (Surah 114) — collectively known as the three Quls — three times each. After each recitation, he would blow gently into his cupped hands. Then he would pass his hands over his entire body — beginning from the head and face, moving down as far as his hands could reach — and he would repeat this three times. This is narrated in Sahih Al-Bukhari (Book of Virtues of the Quran) and is one of the most consistently recorded practices in our Prophetic tradition.
The Quls are not merely short Surahs chosen for convenience. Each one carries a specific theological and protective function:
- Surah Al-Ikhlas (112) — a declaration of Allah's absolute oneness and freedom from all partners; the scholars note it is equivalent in weight to one-third of the Quran.
- Surah Al-Falaq (113) — seeking protection from the evils of created things, darkness, witchcraft, and envy.
- Surah An-Nas (114) — seeking refuge from the whisperings of the hidden and visible Shaytan (devil).
Blowing into the hands and wiping the body is a physical act of intention — you are literally enveloping yourself in the protection of Allah's words before you close your eyes. If you want a deeper look at the protective duas within Islamic tradition, our comprehensive guide on authentic Islamic duas against the evil eye covers several related supplications and their scholarly grounding.
Step 2: Ayat ul Kursi — The Throne Verse
Surah Al-Baqarah
Allah! There is no god ˹worthy of worship˺ except Him, the Ever-Living, All-Sustaining. Neither drowsiness nor sleep overtakes Him. To Him belongs whatever is in the heavens and whatever is on the earth. Who could possibly intercede with Him without His permission? He ˹fully˺ knows what is ahead of them and what is behind them, but no one can grasp any of His knowledge—except what He wills ˹to reveal˺. His Seat encompasses the heavens and the earth, and the preservation of both does not tire Him. For He is the Most High, the Greatest
Ayat ul Kursi — the single most majestic verse in the Quran — is the 255th ayah of Surah Al-Baqarah. Its recitation before sleep is among the most virtuous acts a Muslim can perform at night. The hadith is explicit: whoever recites it before sleeping, a guardian from Allah remains over him and no Shaytan can approach him until morning.
For new Muslims or those who learned the Quran only partially, Ayat ul Kursi can feel long and difficult to memorize. Don't let that stop you. Begin with one line per night. Write it on a card and keep it on your bedside table. Ask an Ijazah-certified tutor at Tarteel Global to help you master both its pronunciation and its profound meaning — because understanding what you are saying transforms recitation from habit into presence.
Step 3: Surah Al-Mulk — The Nightly Protection
Surah Al-Mulk (Surah 67) — known also as Al-Mani'ah (the Protector) and Al-Waqiyah (the Shield) — has a virtue so extraordinary that early scholars considered it a near-obligation to recite nightly. The Prophet ﷺ is reported to have said that a Surah of thirty ayahs will intercede for a person until he is forgiven — and the scholars of hadith identify it as Surah Al-Mulk.
"'There is a Surah in the Quran of thirty verses which interceded for a man until he was forgiven — it is [Surah] Tabarak alladhi biyadihil mulk (i.e., Surah Al-Mulk).' — Narrated by Imam Abu Dawud and Imam At-Tirmidhi, classified as Hasan (good)"
Thirty ayahs. Read slowly, with meaning and presence. It takes approximately three to five minutes. And the Companions of the Prophet ﷺ — who had access to every possible act of worship — considered this their nightly armour. That alone should speak volumes.
Action Step: Tonight, recite Surah Al-Mulk before sleeping — even if you read it slowly from your phone. Make this one commitment before adding anything else to your routine.
The Dua for Sleeping: The Words the Prophet ﷺ Said Every Night
After the recitations above, the Prophet ﷺ would say — at the precise moment of lying down:
Dua for Sleeping
In Your name, O Allah, I die and I live.
Three words from Allah's name. Seven words of surrender. And yet the density of meaning packed into them is staggering.
'I die' — because sleep is a minor death; the soul is taken. 'I live' — because if Allah wills it, He returns it to you upon waking. And all of it — the dying and the living — is done in His name, not by your own power or will. You are not merely going to sleep. You are consciously placing your soul in the care of the One who never sleeps — the One who is described in Ayat ul Kursi itself as: 'La ta'khudhuhu sinatun wa la nawm' — 'Neither drowsiness overtakes Him nor sleep.'
This is ibadah (worship) with closed eyes.
The Sunnah Sleeping Position
The Prophet ﷺ consistently slept on his right side — specifically, the right cheek resting on the right hand. This is narrated in Sahih Al-Bukhari. The right side is not merely preferred for physical reasons (though there are cardiac and digestive benefits noted by physicians) — it carries a conscious spiritual symbolism: you are oriented towards the Qiblah (direction of the Ka'bah) in many traditional sleeping arrangements, and you are emulating the Prophet ﷺ in one of the most intimate and private moments of his life.
Before lying on the right side, the following comprehensive dua — also from Al-Bukhari — is narrated:
Dua When Settling to Sleep
O Allah, I submit myself to You, and I entrust my affairs to You, and I turn my face to You, and I rest my back against You — in hope and in fear of You. There is no refuge and no escape from You except to You. I believe in Your Book which You revealed, and in Your Prophet whom You sent.
Read these words slowly. Not as a formula. As a statement. Every clause is a deliberate act of tawakkul (reliance on Allah): 'I submit my soul.' 'I hand over my affairs.' 'I have nowhere to turn but You.' If you say that — truly say it, understanding each word — you go to sleep differently. The anxiety about tomorrow, the replaying of today's mistakes, the fear of what you can't control — they have somewhere to go. Straight back to the One who holds everything.
Action Step: Write the short dua — 'Bismika Allahumma amutu wa ahya' — on a sticky note and place it on your pillow tonight. Say it once, with full presence, before you close your eyes.
Sleep as a Minor Death: The Spiritual Depth of the Bedtime Adhkar
The early Muslims — the Sahabah (Companions of the Prophet ﷺ) — had a relationship with bedtime that modern Muslims have largely lost. They did not simply fall asleep. They prepared for it the way one prepares for a journey to an unknown land — because that is precisely what sleep was understood to be.
Sayyidna Ali ibn Abi Talib (may Allah be pleased with him) is reported to have said that the one who dies without repentance has gambled with the most precious thing he possesses. And because sleep carries with it the uncertainty of waking — because every morning you open your eyes is genuinely a gift that could have been withheld — the Companions treated the last moments of consciousness with a gravity that transformed them into acts of worship.
Imam An-Nawawi — the brilliant 13th-century Syrian scholar whose Riyad as-Salihin (Gardens of the Righteous) remains one of the most widely read hadith compilations in the world — dedicated an entire chapter specifically to the adhkar of sleeping and waking. He wrote about them not as optional extras but as part of the living Sunnah that a committed believer guards carefully.
"'Among the greatest of blessings Allah has given to His servants is the preservation of the soul during sleep and its return upon waking — and the grateful servant acknowledges this with dhikr before and after.' — Imam An-Nawawi, Al-Adhkar"
There is a beautiful historical narration about Hudhayfah ibn al-Yaman (may Allah be pleased with him) — one of the closest Companions to the Prophet ﷺ and keeper of the secrets of the hypocrites. It is narrated that when Hudhayfah went to sleep each night, he would say: 'In Your name I die and in Your name I live' — and when he woke, he would say: 'All praise to Allah who returned my soul to me and allowed me to see another day.' He did this without exception. It was not a habit. It was a conviction.
This is the spiritual texture that the dua for sleeping sits within. It is not a magic formula. It is a declaration of theology made flesh — the belief that you are not the author of your own existence, that your soul is on loan, and that every morning is mercy.
For those who want to go deeper into Quranic understanding — to understand why these specific words carry such weight — our Tafsir ul Quran course guides students through the scholarly tradition of Quranic interpretation, verse by verse, with the tools to engage with the text at a far richer level.
The Dua for Waking Up
The pre-sleep routine has a mirror image. Just as you begin sleep with conscious surrender, you begin the day with conscious gratitude. The Prophet ﷺ taught:
Dua Upon Waking
All praise is for Allah who gave us life after causing us to die, and to Him is the resurrection.
Opening your eyes and saying these words before anything else — before your phone, before your worries, before the to-do list floods back in — resets the spiritual orientation of your entire day. You woke up. Allah returned your soul. Alhamdulillah.
Action Step: Set a phone reminder — or write this dua on a card beside your alarm — so that it is the first thing your eyes land on when you wake up tomorrow.
Teaching Children the Dua for Sleeping: A Parent's Guide
One of the most powerful things a Muslim parent can do is make the dua for sleeping part of their child's nightly routine from the very earliest age. Not as a recitation to memorize and forget — but as a lived experience they grow up inside. Children who learn the bedtime supplications young don't just learn words. They learn that there is a God who listens. That sleep is safe because they've asked Him to make it so. That the day ends — not with anxiety or the noise of a screen — but with the name of Allah.
Here is a gentle, age-appropriate framework that many families at Tarteel Global have found effective:
| Age Range | Focus | Suggested Practice |
|---|---|---|
| 3-5 years | Familiarity with Arabic sounds | Repeat 'Bismika Allahumma amutu wa ahya' after a parent, nightly |
| 6-8 years | Memorization of the short sleeping dua + Al-Ikhlas | Add one Qul per week until all three are known |
| 9-11 years | Add Ayat ul Kursi | Break it into sections; learn the meaning alongside the Arabic |
| 12+ years | Complete the full pre-sleep routine | Include Surah Al-Mulk — aim for fluency with Tajweed |
Age Range
Focus
Suggested Practice
The key is consistency over perfection. If your seven-year-old stumbles over Ayat ul Kursi, that is perfectly fine. Correct gently, recite together, and let the warmth of the moment be what they remember — not the pressure.
For parents who find it difficult to teach these recitations accurately themselves — whether because of their own pronunciation uncertainty or simply the demands of daily life — a qualified, patient online tutor can make an enormous difference. Our Quran Foundation course is specifically built for children starting from zero, taught live, one-to-one, by Ijazah-certified educators who know how to reach young learners.
If you're looking for creative, engaging ways to bring Quranic stories and Islamic practice alive for children at home, our resource on activities for kids about Prophet Adam is full of practical, age-appropriate ideas that complement a Quranic home environment beautifully.
Why Personalized Guidance Makes All the Difference for Your Bedtime Adhkar
Many Muslims have the sincere desire to establish the pre-sleep routine. What they lack is confident, accurate Arabic pronunciation — and that gap quietly kills the habit. You feel uncertain whether you're saying the words correctly. You rush through them or skip them. And gradually, a practice that was meant to be a fortress becomes a source of low-level guilt.
This is exactly why live, one-to-one tutoring with an Ijazah-certified teacher transforms everything. Not just for formal Quran study — but for the practical application of what you've learned in your daily worship.
At Tarteel Global, our tutors work with students across the UK, USA, Canada, Australia, UAE, and the wider world — scheduling sessions at times that fit around real life, from early morning slots before the kids wake up to late evening sessions after work. Many of our adult students specifically come to us saying: 'I want to finally say my adhkar properly. I don't want to guess anymore.' And consistently, they tell us that once they hear the correct pronunciation and understand the meaning, the supplications stop feeling like obligations and start feeling like conversations.
Our Ijazah-certified tutors don't just correct your recitation — they connect you to a scholarly chain of transmission that reaches back, generation by generation, to the mouth of the Prophet ﷺ himself. That is not a marketing claim. That is what Ijazah means.
Flexible scheduling means a busy parent in London, a university student in Toronto, or a working professional in Dubai can all access the same quality of teaching — without commuting, without rigid class times, without ever compromising on authenticity.
Personalized lesson plans mean your tutor meets you exactly where you are. Whether you're beginning with the Arabic alphabet or refining your Tajweed so that every ayah of Surah Al-Mulk lands with precision and beauty — the plan is built around you.
Conclusion
The dua for sleeping is one of the most intimate gifts the Prophet ﷺ left for his Ummah (community). Three words — Bismika Allahumma amutu wa ahya — that turn the most ordinary act of closing your eyes into a moment of profound theological consciousness. Paired with the three Quls, Ayat ul Kursi, and Surah Al-Mulk, the complete bedtime adhkar is a fortress, a conversation, and a declaration — all wrapped into five minutes at the end of every day.
You don't need to be a scholar to practise this. You don't need to know classical Arabic grammar or have memorized thirty juz. You simply need the words, the correct pronunciation, and the understanding to say them with your whole heart. Start tonight. Start small — even if it's just the short sleeping dua, said once, slowly, with presence. Build from there. And if accurate pronunciation feels like the barrier standing between you and a complete bedtime Sunnah, let an Ijazah-certified teacher from Tarteel Global help you cross it.
Because every night you close your eyes in the name of Allah is a night well spent.
Frequently Asked Questions
QWhat is the dua for sleeping in Islam?
What is the dua for sleeping in Islam?
The primary dua for sleeping, authenticated in Sahih Al-Bukhari, is 'Bismika Allahumma amutu wa ahya' — meaning 'In Your name, O Allah, I die and I live.' It is recited at the moment of lying down to sleep, acknowledging that the soul is in Allah's keeping throughout the night.
QWhat is the Sunnah routine before sleeping?
What is the Sunnah routine before sleeping?
The complete pre-sleep Sunnah routine includes reciting the three Quls (Surah Al-Ikhlas, Al-Falaq, An-Nas) three times each while blowing into the hands and wiping the body, reciting Ayat ul Kursi (Surah 2:255), reading Surah Al-Mulk (Surah 67), saying the sleeping dua, and lying on the right side. This entire practice takes approximately five minutes and is narrated in authentic hadith collections including Sahih Al-Bukhari.
QWhat Surah should I read before sleeping?
What Surah should I read before sleeping?
The Prophet ﷺ specifically recommended Surah Al-Mulk (Surah 67) as a nightly recitation before sleep, narrated in Sunan Abu Dawud and Tirmidhi with a grading of Hasan (good). Scholars such as Ibn Al-Qayyim also emphasize that the three Quls — Al-Ikhlas, Al-Falaq, and An-Nas — are recited three times each before sleeping, as narrated in Sahih Al-Bukhari.
QIs there a dua for waking up from sleep?
Is there a dua for waking up from sleep?
Yes. The Prophet ﷺ taught the following supplication upon waking: 'Alhamdulillahilladhi ahyana ba'da ma amatana wa ilayhin-nushur' — meaning 'All praise is for Allah who gave us life after causing us to die, and to Him is the resurrection.' This is narrated in Sahih Al-Bukhari and is recommended to be the first words spoken upon waking.
QWhat is the Sunnah sleeping position?
What is the Sunnah sleeping position?
The Prophet ﷺ slept on his right side, resting the right cheek on the right hand, as narrated in Sahih Al-Bukhari. This is the recommended Sunnah position, though scholars note it is not sinful to sleep in other positions — the right side is simply the preferred and spiritually recommended posture.
QHow can I teach my child the dua for sleeping?
How can I teach my child the dua for sleeping?
Begin with the short sleeping dua — 'Bismika Allahumma amutu wa ahya' — repeating it together each night until your child can say it independently. Gradually add the three Quls and Ayat ul Kursi as your child grows in confidence. Keeping the routine warm, consistent, and pressure-free is far more effective than insisting on perfection. A qualified tutor can help children nail the correct Arabic pronunciation from the very beginning, building a solid foundation for lifelong practice.





