Dua Before Sleeping: The Complete Sunnah Guide with Arabic Text
Written by the Islam365 Editorial Team · 7 min read
what is the dua before sleeping?
The primary dua before sleeping is: "Bismika Allahumma amutu wa ahya" "In Your name, O Allah, I die and I live."(Sahih al-Bukhari 6312 Sahih) The Prophet Muhammad ﷺ recited this every night before sleeping. A longer, more comprehensive dua is also established in Sahih al-Bukhari 6320. Both are covered below with full Arabic text, transliteration, and translation. Find them ready to read, listen to, and download as beautiful mosque cards in the free Islam365 app App Store · Google Play.
Every night, before the Prophet Muhammad ﷺ closed his eyes, he performed a complete act of worship.
Not a rushed habit. Not a formality. A deliberate, beautiful surrender placing his soul in the care of Allah, acknowledging that waking up the next morning was not guaranteed, and that every breath through the night was a gift from the One who controls life and death.
Islamic tradition describes sleep as mawt al-asghar the minor death. The soul is taken each night and returned each morning by Allah's mercy. The dua before sleeping is the Muslim's way of marking that moment consciously with gratitude, with trust, and with the exact words the Prophet ﷺ taught.
This guide gives you every authenticated dua before sleeping with full Arabic text, transliteration, translation, and hadith reference — plus the complete Sunnah bedtime routine the Prophet ﷺ practised every night.
Dua 1: The Primary Dua Before Sleeping
This is the shortest, most essential, and most authenticated dua before sleeping the one the Prophet ﷺ recited every night without exception.
اللَّهُمَّ بِاسْمِكَ أَمُوتُ وَأَحْيَا
Allahumma bismika amutu wa ahya
"O Allah, in Your name I die and I live."
(Sahih al-Bukhari 6312 · Sahih Muslim 2711 Sahih)
The word "die" refers to sleep the temporary taking of the soul. The word "live" refers to waking up the return of the soul. The Prophet ﷺ began with death before life in this dua, deliberately reversing the natural order, because in sleep it is death (the soul's departure) that comes first. This is a conscious acknowledgement that the night belongs to Allah entirely.
Dua 2: The Comprehensive Bedtime Dua
This is the longer, more detailed dua before sleeping also established in Sahih al-Bukhari and widely considered the most complete single supplication for bedtime.
بِاسْمِكَ رَبِّي وَضَعْتُ جَنْبِي، وَبِكَ أَرْفَعُهُ، فَإِنْ أَمْسَكْتَ نَفْسِي فَارْحَمْهَا، وَإِنْ أَرْسَلْتَهَا فَاحْفَظْهَا بِمَا تَحْفَظُ بِهِ عِبَادَكَ الصَّالِحِينَ
Bismika rabbi wada'tu janbi, wa bika arfa'uhu, fa in amsakta nafsi farhamha, wa in arsaltaha fahfazha bima tahfazu bihi 'ibadakas-salihin
"In Your name, my Lord, I lie down and by You I raise it. If You should take my soul, have mercy on it. If You should return my soul, protect it as You protect Your righteous servants."
(Sahih al-Bukhari 6320 · Sahih Muslim 2714 Sahih)
The Prophet ﷺ linked this dua to a physical act he taught that before lying down, you should dust the bed three times with the edge of your garment, for you do not know what has occurred in your absence. Then lie on your right side, place your right hand under your right cheek, and recite this dua.
Dua 3: The Dua Taught to Fatimah (RA) Better Than a Servant
When Fatimah (RA), the Prophet's daughter, asked him for a servant to help with the difficulties of housework, this was his response — something better than what she asked for:
سُبْحَانَ اللَّهِ (33 times)
الْحَمْدُ لِلَّهِ (33 times)
اللَّهُ أَكْبَرُ (34 times)
Subhanallah (33) · Alhamdulillah (33) · Allahu Akbar (34)
"Glory be to Allah · All praise is due to Allah · Allah is the Greatest"
(Sahih al-Bukhari 3113 · Sahih Muslim 2727 Sahih)
The Prophet ﷺ said: "That is better for you than a servant." This Tasbeeh 100 total remembrances is one of the most powerful and most consistently practised of all bedtime adhkar. Recite while lying on your right side before sleep.
Dua 4: Dua Seeking Allah's Protection for the Soul
اللَّهُمَّ إِنَّكَ خَلَقْتَ نَفْسِي وَأَنْتَ تَوَفَّاهَا، لَكَ مَمَاتُهَا وَمَحْيَاهَا، إِنْ أَحْيَيْتَهَا فَاحْفَظْهَا، وَإِنْ أَمَتَّهَا فَاغْفِرْ لَهَا
Allahumma innaka khalaqta nafsi wa anta tawaffaha, laka mamatuha wa mahyaha, in ahyaytaha fahfazha, wa in amattaha faghfir laha
"O Allah, You created my soul and You take it back. To You belongs its death and its life. If You grant it life, protect it. If You cause it to die, forgive it."
(Sahih Muslim 2712 Sahih)
Dua 5: Protection from the Punishment of the Grave
اللَّهُمَّ قِنِي عَذَابَكَ يَوْمَ تَبْعَثُ عِبَادَكَ
Allahumma qini adhabaka yawma tab'athu ibadaka
"O Allah, protect me from Your punishment on the Day You resurrect Your servants."
(Sunan Abi Dawud 5045 graded Hasan by Al-Albani. Recite three times)
The Quranic Recitations Before Sleeping
In addition to the specific duas above, the Prophet ﷺ regularly recited certain Quran verses and Surahs as part of his nightly routine. These are among the most authenticated and most widely practised bedtime adhkar in Islamic tradition:
The Prophet ﷺ confirmed: "Whoever recites Ayatul Kursi before sleeping, Allah will appoint a guardian over him and no devil will approach him until morning." (Sahih al-Bukhari 2311 Sahih) Read our complete Ayatul Kursi guide for the full Arabic text.
The Three Quls Surah Al-Ikhlas, Al-Falaq, and An-Nas (Quran 112, 113, 114)
The Prophet ﷺ would cup his hands, blow into them, recite the three Quls, and then wipe his hands over as much of his body as he could beginning with his head, face, and front of his body. He did this three times. (Sahih al-Bukhari 5017 Sahih)
The Prophet ﷺ never slept without reciting Surah Al-Mulk. (Jami at-Tirmidhi 2892 Hasan) It protects from the punishment of the grave and intercedes for its reciter until forgiveness. Read our complete Surah Al-Mulk guide.
Last Two Verses of Surah Al-Baqarah (Quran 2:285-286)
The Prophet ﷺ said: "Whoever recites the last two verses of Surah Al-Baqarah at night, they will suffice him." (Sahih al-Bukhari 5009 Sahih)
The Complete Sunnah Bedtime Routine
The Prophet ﷺ practised a complete physical and spiritual routine before sleeping. Here is the full sequence drawn from authentic narrations:
1. Perform wudu the Prophet ﷺ said: "When you go to your bed, perform wudu as you do for prayer." (Sahih al-Bukhari 247)
2. Dust the bed three times — before lying down, dust the bed with the edge of your garment three times, for you do not know what has occurred in your absence. (Sahih al-Bukhari 6320)
3. Lie on your right side — place your right cheek on your right hand. This is the established Sunnah sleeping position. (Sahih al-Bukhari 247)
4. Recite Ayatul Kursi protection from Shaytan until morning. (Sahih al-Bukhari 2311)
5. Recite the three Quls three times cup hands, blow, wipe over the body. (Sahih al-Bukhari 5017)
6. Recite Surah Al-Mulk the Prophet ﷺ never slept without it. (Tirmidhi 2892)
7. Recite the Tasbeeh of Fatimah 33 SubhanAllah, 33 Alhamdulillah, 34 Allahu Akbar. (Sahih al-Bukhari 3113)
8. Recite the main bedtime dua Bismika rabbi wada'tu janbi... (Sahih al-Bukhari 6320)
How to Build the Bedtime Dua Into a Daily Habit
Start with one. Not all eight steps. One.
The shortest and most powerful starting point is Dua 1 "Allahumma bismika amutu wa ahya." It is five words. It takes five seconds. It is Sahih. Begin there tonight and let the habit build from that single foundation.
Add Ayatul Kursi in week two. Add the Tasbeeh of Fatimah in week three. Build the complete routine over a month not because the Quran and Sunnah demand perfection from the first night, but because habits built gradually hold longer than habits attempted all at once.
The Islam365 app includes every dua in this guide Arabic text, transliteration, translation, and audio recitation available in the Duas section, organized by category. Download any dua as a beautifully designed mosque-background card to save in your gallery and share with family. Free on iPhone and Android.
Frequently Asked Questions
What is the dua before sleeping in Islam?
The primary authenticated dua before sleeping is "Allahumma bismika amutu wa ahya" "O Allah, in Your name I die and I live." (Sahih al-Bukhari 6312, Sahih) A more comprehensive dua is "Bismika rabbi wada'tu janbi..." (Sahih al-Bukhari 6320, Sahih). Both are covered with full Arabic text and translation in this guide and available in the free Islam365 app.
What Surah should I read before sleeping?
The Prophet ﷺ recited three Surahs every night: the three Quls (Surah Al-Ikhlas, Al-Falaq, An-Nas) and Surah Al-Mulk. He also recited Ayatul Kursi and the last two verses of Surah Al-Baqarah. All are available offline in the Islam365 Quran reader download free.
Is the dua before sleeping obligatory?
No it is a highly recommended Sunnah (mustahabb), not an obligation (fard). Missing it does not invalidate anything. But given its authenticated rewards protection from Shaytan, mercy for the soul, forgiveness it is among the most beneficial nightly habits a Muslim can build.
Which side should I sleep on according to the Sunnah?
The right side placing your right cheek on your right hand. This is the established Sunnah sleeping position recorded in Sahih al-Bukhari 247. The Prophet ﷺ consistently slept on his right side and taught this to his companions.
Can I recite the dua before sleeping in English?
Yes — especially while learning. Reciting with understanding deepens sincerity. Work toward learning the Arabic over time since the exact wording of the Prophet ﷺ carries its own spiritual significance. The Islam365 app displays every bedtime dua in Arabic, transliteration, and translation simultaneously download free.
What did the Prophet do right before sleeping?
The complete Sunnah bedtime routine includes: performing wudu, dusting the bed three times, lying on the right side, reciting Ayatul Kursi, the three Quls, Surah Al-Mulk, the Tasbeeh of Fatimah (SubhanAllah 33, Alhamdulillah 33, Allahu Akbar 34), and the main bedtime dua. The full routine is detailed in this guide above.
Conclusion
Sleep is not a pause in a Muslim's worship. It is part of it.
The moment before closing your eyes is a moment of complete surrender placing your soul in the care of the One who controls all life and death. The duas the Prophet ﷺ taught for this moment are short enough to learn in a week and powerful enough to carry through a lifetime.
Start tonight with one dua. Allahumma bismika amutu wa ahya. Five words. Five seconds. A habit the Prophet ﷺ never missed.
Find Every Bedtime Dua in Islam365 Free, Offline, Ad-Free
The Islam365 app includes every dua before sleeping with full Arabic text, transliteration, translation, and audio recitation. Download any dua as a beautiful mosque-background card to share on WhatsApp, Instagram, or TikTok. Access Ayatul Kursi, Surah Al-Mulk, and the complete evening adhkar all offline, all free, no signup required.



