روضة RawdahLibrary of How to Muslim
  1. Rawdah
  2. Articles
  3. What to say before sleep: the Sunnah adhkar for bedtime

Du‘a and dhikr

What to say before sleep: the Sunnah adhkar for bedtime

A calm bedtime routine straight from the Prophet's ﷺ practice, from wudu and Ayat al-Kursi to what to say after a nightmare, with honest notes on which reports are firm and which are not.

Before sleep, the Sunnah is to make wudu, shake out your bedding, lie on your right side, recite Ayat al-Kursi, the last two verses of al-Baqarah and the three Quls (blowing into your hands and wiping over your body), say the tasbih of Fatimah (33 subhan Allah, 33 alhamdu lillah, 34 Allahu akbar), and end with a short du'a such as "bismika Allahumma amutu wa ahya". Each of these is reported with its own strength, and this article says plainly which are firmly established and which scholars handle with care.

This article draws on Daily Adhkar, a free book from Life With Allah. We have section notes on this book, and this article follows the sections on before sleep and on waking, through sections 17 to 20.

Prepare the bed first

The Prophet ﷺ made bedtime a short act of worship, and it begins before you say a word.

  • Make wudu. He told al-Bara' ibn 'Azib to make wudu as for prayer when going to bed, then lie on the right side and say the du'a of surrender below, making it the last thing he says (Sahih al-Bukhari 6311; Sahih Muslim 2710). Our guide on how to make wudu walks through it.
  • Shake out the bedding. Use the inside of your lower garment, because you do not know what settled on it while you were away (Sahih al-Bukhari 6320; Sahih Muslim 2714).
  • Close up the house. Close the doors and mention Allah's name (Sahih al-Bukhari 3304), cover your vessels and put out the lamps (Sahih Muslim 2012).
  • Lie on your right side. That is the Prophet's ﷺ instruction in the hadith of al-Bara' above.

Two details that are often mis-cited

The hand under the cheek. Many books credit this to al-Bukhari. It is not in al-Bukhari. It comes from Hafsah, who said he put his right hand under his cheek and then asked Allah to guard him from His punishment (Sunan Abi Dawud 5045). Al-Albani graded it sahih apart from the words "three times", Zubayr 'Ali Za'i judged the chain hasan, Ibn Hajar called it hasan, and Shu'ayb al-Arna'ut graded it sahih li-ghayrihi. At-Tirmidhi 3399 has the same du'a, graded sahih by al-Albani and Shu'ayb al-Arna'ut.

Lying on the stomach. A report from Tikhfah al-Ghifari says the Prophet ﷺ found a man lying this way and said Allah dislikes it (Sunan Abi Dawud 5040; Sunan Ibn Majah 3723). Scholars differ on its chain. Al-Albani weakened it in Abu Dawud but graded it sahih in Ibn Majah, Zubayr 'Ali Za'i graded it sahih, and Shu'ayb al-Arna'ut found one chain weak and another hasan li-ghayrihi. It is a point of adab, not medical advice about how you should sleep.

One more habit: the Prophet ﷺ disliked sleeping before 'Isha and talking after it (Sahih al-Bukhari 568). Scholars allow exceptions such as study, family and guests, so hold it as a gentle preference.

Recite the Qur'an

Ayat al-Kursi

Abu Hurayrah was guarding the zakat of Ramadan when he caught a thief, who told him to recite Ayat al-Kursi (Qur'an 2:255) when going to bed, for a guardian from Allah would stay with him and Shaytan would not come near until morning. The Prophet ﷺ said the man had told the truth, though he was a liar (Sahih al-Bukhari 3275, which gives the story in a form cut off at the start of the chain, as al-Bukhari sometimes does). For its meaning, see Ayat al-Kursi: meaning and virtues.

The last two verses of al-Baqarah

The Prophet ﷺ said that two verses closing Surat al-Baqarah, if read at night, will suffice the reader (Sahih al-Bukhari 5008 and 5009; Sahih Muslim 807). These are Qur'an 2:285 and 2:286. Scholars differ on what "suffice" means: enough protection, enough in place of a night prayer, or both. It is safest to hope for all of these without insisting on one.

The three Quls

'A'ishah reported that each night, when he went to bed, the Prophet ﷺ cupped his hands, blew into them after reciting al-Ikhlas, al-Falaq and an-Nas, and wiped as much of his body as he could, beginning with his head and face. He did this three times (Sahih al-Bukhari 5017; also Sunan Abi Dawud 5056, graded sahih by al-Albani). The surahs are Qur'an 112, 113 and 114.

Al-Kafirun and al-Mulk, held with care

  • Al-Kafirun (109). The Prophet ﷺ told Nawfal to recite it and then sleep, as it is a declaration of freedom from shirk (Sunan Abi Dawud 5055). Al-Albani graded it sahih, Zubayr 'Ali Za'i and Shu'ayb al-Arna'ut hasan (the latter noting some idtirab in the chain), while Ibn 'Abd al-Barr said the chain is mudtarib (shaky). Many scholars accept it as a gentle practice.
  • Al-Mulk (67). Two reports are blended here. That a surah of thirty verses intercedes for its reader until he is forgiven is hasan (Jami' at-Tirmidhi 2891, per al-Albani and Zubayr 'Ali Za'i). That the Prophet ﷺ would not sleep until he recited al-Mulk and as-Sajdah is a separate report (Jami' at-Tirmidhi 3404). Al-Albani graded it sahih, but Zubayr 'Ali Za'i, Ibn Baz and Ibn Hajar criticised the chain and al-Munawi noted idtirab. Keep the two apart, and recite al-Mulk as a good habit, not as a firm promise.

Say the tasbih of Fatimah

Fatimah went to her father to ask for a servant, as the grinding stone had hurt her hands. He taught her and 'Ali something he called better for them than a servant: when you go to your beds, say Allahu akbar 34 times, subhan Allah 33 times and alhamdu lillah 33 times (Sahih al-Bukhari 3113; Sahih Muslim 2727). The narration gives the extra count to takbir, so the numbers are 33, 33 and 34 in total. The same count is also said after the obligatory prayers, in a separate report.

The du'as as you lie down

Say these quietly on your right side. We give the meaning in our own words; for the Arabic, use our before-sleep page in the Morning and Evening Adhkar app, our bedtime dhikr guide or a teacher.

  • "Bismika Allahumma amutu wa ahya." With Your name alone, O Allah, I die and I live. This is the shortest one (Sahih al-Bukhari 6312, from Hudhayfah). Sleep is a small death, and the du'a treats it that way.
  • The du'a of lying down. With Your name, my Lord, I set my side down, and with Your help I raise it. If You keep my soul, have mercy on it, and if You release it, protect it as You protect Your righteous servants (Sahih al-Bukhari 6320; Sahih Muslim 2714).
  • The du'a of surrender. I submit myself to You, hand my affairs to You, turn my face to You and rest my back on You, hoping and fearing. There is no refuge from You except in You. I have faith in the Book You sent and the Prophet You sent. The Prophet ﷺ said that if you die that night you die on the fitrah (Sahih al-Bukhari 6311; Sahih Muslim 2710). Note that al-Bara' once said "Your messenger" and was corrected to "Your prophet", so keep to the taught wording.
  • Protection from the punishment. My Lord, keep Your punishment away from me when You bring Your servants back to life (Jami' at-Tirmidhi 3399; al-Albani graded it sahih and Zubayr 'Ali Za'i judged the chain sahih).

The book also gives a few longer bedtime du'as whose chains are weaker, such as one praising Allah with "all of creation's praises" in al-Hakim, which an-Nawawi called da'if. Prefer the versions in al-Bukhari and Muslim above.

After a bad dream

The Prophet ﷺ separated the two kinds of dream. A good dream comes from Allah, while a bad one comes from Shaytan (Sahih al-Bukhari 6984). For one you dislike, he told us to ask Allah's refuge from its harm and from Shaytan, spit lightly three times to the left, and mention it to no one, and then it will not harm you (Sahih al-Bukhari 7044; see also 6985 and Sahih Muslim 2261). A good dream, by contrast, can be shared with someone you love. The "spit" is understood as a light, dry blowing with a little breath; how it is done is for your teacher.

For a fright in sleep specifically, 'Amr ibn Shu'ayb reported that the Prophet ﷺ taught seeking refuge in Allah's perfect words from His anger, His punishment, the harm of His servants and the promptings of the devils (Jami' at-Tirmidhi 3528). Al-Albani graded the du'a hasan, though not the added remark about 'Abdullah ibn 'Amr hanging it on his young children, while Zubayr 'Ali Za'i judged the chain weak. Some printed lists carry a different version tied to Khalid ibn al-Walid, which al-Albani graded very weak or fabricated, so check which wording you are reading. The sound core in al-Bukhari, seeking refuge with Allah, always stands. See our page on nightmares.

If you wake in the night

Whoever wakes at night and declares la ilaha illallah alone without partner, with the kingdom and praise His, adds tasbih, tahmid, takbir and la hawla wa la quwwata illa billah, then asks forgiveness or makes any du'a, will be answered. If he then makes wudu and prays, that prayer is accepted (Sahih al-Bukhari 1154).

The Prophet ﷺ also woke, rubbed sleep from his face, recited the last ten verses of Surat Al 'Imran (3:190 to 200), made wudu and prayed (Sahih al-Bukhari 183; Sahih Muslim 763).

When you wake in the morning

Hudhayfah reported that on waking the Prophet ﷺ would thank Allah for giving us life after our small death, and add that to Him is the return (Sahih al-Bukhari 6312).

Another report has him teach thanks to Allah for health in the body, for the soul returned, and for permission to remember Him (Jami' at-Tirmidhi 3401). Al-Albani graded it hasan, while Zubayr 'Ali Za'i weakened it because Ibn 'Ajlan's hearing is not clearly stated. It is a lovely thing to say, and the version in al-Bukhari is the firmest. Our waking-up page in the same app has the wording, and the morning and evening adhkar are the natural next step.

A simple routine for tonight

You do not need all of it at once. Start with wudu, Ayat al-Kursi and the tasbih of Fatimah, and add the last two verses of al-Baqarah and the three Quls when they are easy. Let the du'a of lying down be the last thing you say.

Common questions

What should I say before sleeping in Islam?

Make wudu, shake out your bedding, lie on your right side, recite Ayat al-Kursi, the last two verses of al-Baqarah and the three Quls (blowing into your hands and wiping over your body), say 33 subhan Allah, 33 alhamdu lillah and 34 Allahu akbar, and end with a du'a such as "bismika Allahumma amutu wa ahya" (al-Bukhari 6311, 6312, 3275, 5008, 5017, 3113).

Is it Sunnah to recite Ayat al-Kursi before sleep?

Yes. The Prophet ﷺ confirmed the thief's words that a guardian from Allah stays with the reader until morning (Sahih al-Bukhari 3275). Al-Bukhari gives the story with the start of the chain omitted, and it is graded sahih by al-Albani.

What is the dua after a nightmare in Islam?

Ask Allah's refuge from the dream and from Shaytan, spit lightly three times to your left, and tell nobody (Sahih al-Bukhari 7044). A du'a seeking refuge in Allah's perfect words is reported for fright in sleep (at-Tirmidhi 3528), graded hasan by al-Albani and weak by Zubayr 'Ali Za'i.

What do I say when I wake up?

On waking thank Allah for the life He returned after the small death of sleep, and say that to Him is the return (Sahih al-Bukhari 6312). If you wake in the night, say the words of tawhid, then ask Allah (Sahih al-Bukhari 1154).

What are the numbers in the tasbih of Fatimah?

The numbers in the hadith are 33 subhan Allah, 33 alhamdu lillah and 34 Allahu akbar, and the hadith gives that order (al-Bukhari 3113; Muslim 2727). Stay with the taught numbers rather than inventing your own.

Sources

  • Qur'an, al-Baqarah 2:255, https://quran.com/2:255
  • Qur'an, al-Baqarah 2:285, https://quran.com/2:285
  • Qur'an, al-Baqarah 2:286, https://quran.com/2:286
  • Qur'an, Al 'Imran 3:190, https://quran.com/3:190
  • Qur'an, Al 'Imran 3:200, https://quran.com/3:200
  • Qur'an, al-Mulk 67:1, https://quran.com/67:1
  • Qur'an, al-Kafirun 109:1, https://quran.com/109:1
  • Qur'an, al-Ikhlas 112:1, https://quran.com/112:1
  • Qur'an, al-Falaq 113:1, https://quran.com/113:1
  • Qur'an, an-Nas 114:1, https://quran.com/114:1
  • Sahih al-Bukhari 568 (dislike of sleeping before 'Isha and talking after it), sahih, https://en.tohed.com/hadith/bukhari/568
  • Sahih al-Bukhari 6311 (wudu, right side, du'a of surrender, al-Bara'), sahih, https://en.tohed.com/hadith/bukhari/6311
  • Sahih Muslim 2710 (same hadith), sahih, https://en.tohed.com/hadith/muslim/2710
  • Sahih al-Bukhari 6320 (shake out the bedding, du'a of lying down, Abu Hurayrah), sahih, https://en.tohed.com/hadith/bukhari/6320
  • Sahih Muslim 2714 (same hadith), sahih, https://en.tohed.com/hadith/muslim/2714
  • Sahih al-Bukhari 3304 (close the doors and mention Allah's name, Jabir), sahih, https://en.tohed.com/hadith/bukhari/3304
  • Sahih Muslim 2012 (cover vessels, close doors, put out lamps), sahih, https://en.tohed.com/hadith/muslim/2012
  • Sunan Abi Dawud 5045 (Hafsah: right hand under the cheek and the du'a), sahih except "three times" per al-Albani, chain hasan per Zubayr 'Ali Za'i, https://en.tohed.com/hadith/abu-dawud/5045
  • Jami' at-Tirmidhi 3399 (same du'a, protection from the punishment), sahih per al-Albani, chain sahih per Zubayr 'Ali Za'i, https://en.tohed.com/hadith/tirmidhi/3399
  • Sunan Abi Dawud 5040 (Tikhfah al-Ghifari, lying on the stomach), da'if in Abu Dawud per al-Albani, sahih per Zubayr 'Ali Za'i, https://en.tohed.com/hadith/abu-dawud/5040
  • Sunan Ibn Majah 3723 (same report), sahih per al-Albani and Zubayr 'Ali Za'i, https://en.tohed.com/hadith/ibn-majah/3723
  • Sahih al-Bukhari 3275 (Abu Hurayrah and the thief, Ayat al-Kursi), sahih (given in cut-off form), https://en.tohed.com/hadith/bukhari/3275
  • Sahih al-Bukhari 5008 (last two verses of al-Baqarah suffice), sahih, https://en.tohed.com/hadith/bukhari/5008
  • Sahih al-Bukhari 5009 (same hadith, Abu Mas'ud), sahih, https://en.tohed.com/hadith/bukhari/5009
  • Sahih Muslim 807 (same hadith), sahih, https://en.tohed.com/hadith/muslim/807
  • Sahih al-Bukhari 5017 (the three Quls blown into the hands, 'A'ishah), sahih, https://en.tohed.com/hadith/bukhari/5017
  • Sunan Abi Dawud 5056 (same hadith), sahih per al-Albani, https://en.tohed.com/hadith/abu-dawud/5056
  • Sunan Abi Dawud 5055 (al-Kafirun before sleep, Nawfal), sahih per al-Albani, hasan per Zubayr 'Ali Za'i, mudtarib per Ibn 'Abd al-Barr, https://en.tohed.com/hadith/abu-dawud/5055
  • Jami' at-Tirmidhi 2891 (a surah of thirty verses intercedes, Abu Hurayrah), hasan per al-Albani and Zubayr 'Ali Za'i, https://en.tohed.com/hadith/tirmidhi/2891
  • Jami' at-Tirmidhi 3404 (he did not sleep until he recited as-Sajdah and al-Mulk, Jabir), sahih per al-Albani, da'if per Zubayr 'Ali Za'i and Ibn Baz, criticised by Ibn Hajar and al-Munawi, https://en.tohed.com/hadith/tirmidhi/3404
  • Sahih al-Bukhari 3113 (tasbih of Fatimah, 'Ali), sahih, https://en.tohed.com/hadith/bukhari/3113
  • Sahih Muslim 2727 (same hadith), sahih, https://en.tohed.com/hadith/muslim/2727
  • Sahih al-Bukhari 6312 ("bismika amutu wa ahya" and the waking du'a, Hudhayfah), sahih, https://en.tohed.com/hadith/bukhari/6312
  • Sahih al-Bukhari 6984 (a good dream is from Allah, a bad one from Shaytan), sahih, https://en.tohed.com/hadith/bukhari/6984
  • Sahih al-Bukhari 6985 (seek refuge and mention it to no one, Abu Sa'id), sahih, https://en.tohed.com/hadith/bukhari/6985
  • Sahih al-Bukhari 7044 (seek refuge, spit three times to the left, tell nobody, Abu Qatadah), sahih, https://en.tohed.com/hadith/bukhari/7044
  • Sahih Muslim 2261 (the bad dream, Abu Qatadah), sahih, https://en.tohed.com/hadith/muslim/2261
  • Jami' at-Tirmidhi 3528 (refuge in Allah's perfect words for fright in sleep, 'Amr ibn Shu'ayb), hasan per al-Albani except the remark about 'Abdullah ibn 'Amr, da'if per Zubayr 'Ali Za'i, https://en.tohed.com/hadith/tirmidhi/3528
  • Sahih al-Bukhari 1154 (waking in the night, 'Ubadah ibn as-Samit), sahih, https://en.tohed.com/hadith/bukhari/1154
  • Sahih al-Bukhari 183 (the last ten verses of Al 'Imran on waking, Ibn 'Abbas), sahih, https://en.tohed.com/hadith/bukhari/183
  • Sahih Muslim 763 (same hadith), sahih, https://en.tohed.com/hadith/muslim/763
  • Jami' at-Tirmidhi 3401 (dusting the bed, the lying-down du'a and the waking du'a "afani fi jasadi", Abu Hurayrah), hasan per al-Albani, da'if per Zubayr 'Ali Za'i, https://en.tohed.com/hadith/tirmidhi/3401

More articles

Keep climbing

Grow in your knowledge of Islam

Five places to go next, from a page you can read today to a full course.