Morning, evening and sleep

Dua before sleeping

Updated · From Hisnul Muslim

Short answer

Before sleeping, the Prophet ﷺ would blow lightly into his cupped hands, recite the three Quls and wipe over his body three times (Bukhari 5017). He also taught reciting Ayat al-Kursi, the last two verses of al-Baqarah, and du'as such as "In Your name O Allah, I live and die" (Bukhari 6312). The final du'a, if they are your last words, means dying on the fitrah (Bukhari 6311).

Keep every du'a from Hisnul Muslim with you, with Arabic and meaning, in the free Tasleem app. Get the app →

The dua

Dua 1: The three Quls and wiping over the body

﴿قُل هُوَ اللهُ أحَدٌ...﴾

﴿قُلْ أعُوذُ بِرَبِّ اْلفَلَقِ...﴾

﴿قُلْ أعُوذُ بِرَبِّ النَّاسِ...﴾

[ثلاث مرات]

When retiring to his bed every night, the Prophet ﷺ would hold his palms together, (dry) spit in them, recite the last three chapters of the Qur'ân and then wipe over his entire body as much as possible with his hands, beginning with his head and face and then all parts of the body; he would do this three times.

(Bukhari 5017)

Dua 2: Ayat al-Kursi

ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ ۚ لَا تَأْخُذُهُۥ سِنَةٌ وَلَا نَوْمٌ ۚ لَّهُۥ مَا فِى ٱلسَّمَـٰوَٰتِ وَمَا فِى ٱلْأَرْضِ ۗ مَن ذَا ٱلَّذِى يَشْفَعُ عِندَهُۥٓ إِلَّا بِإِذْنِهِۦ ۚ يَعْلَمُ مَا بَيْنَ أَيْدِيهِمْ وَمَا خَلْفَهُمْ ۖ وَلَا يُحِيطُونَ بِشَىْءٍ مِّنْ عِلْمِهِۦٓ إِلَّا بِمَا شَآءَ ۚ وَسِعَ كُرْسِيُّهُ ٱلسَّمَـٰوَٰتِ وَٱلْأَرْضَ ۖ وَلَا يَـُٔودُهُۥ حِفْظُهُمَا ۚ وَهُوَ ٱلْعَلِىُّ ٱلْعَظِيمُ

The Prophet ﷺ confirmed as true this advice, which a devil gave to Abu Hurayrah: 'When you are about to sleep, recite Ayat Al-Kursî, for there will remain over you a protection from Allah and no devil will draw near you until morning.'

(Bukhari 2311)

Dua 3: The last two verses of al-Baqarah

ءَامَنَ ٱلرَّسُولُ بِمَآ أُنزِلَ إِلَيْهِ مِن رَّبِّهِۦ وَٱلْمُؤْمِنُونَ ۚ كُلٌّ ءَامَنَ بِٱللَّهِ وَمَلَـٰٓئِكَتِهِۦ وَكُتُبِهِۦ وَرُسُلِهِۦ لَا نُفَرِّقُ بَيْنَ أَحَدٍۢ مِّن رُّسُلِهِۦ ۚ وَقَالُوا۟ سَمِعْنَا وَأَطَعْنَا ۖ غُفْرَانَكَ رَبَّنَا وَإِلَيْكَ ٱلْمَصِيرُ ٢٨٥ لَا يُكَلِّفُ ٱللَّهُ نَفْسًا إِلَّا وُسْعَهَا ۚ لَهَا مَا كَسَبَتْ وَعَلَيْهَا مَا ٱكْتَسَبَتْ ۗ رَبَّنَا لَا تُؤَاخِذْنَآ إِن نَّسِينَآ أَوْ أَخْطَأْنَا ۚ رَبَّنَا وَلَا تَحْمِلْ عَلَيْنَآ إِصْرًۭا كَمَا حَمَلْتَهُۥ عَلَى ٱلَّذِينَ مِن قَبْلِنَا ۚ رَبَّنَا وَلَا تُحَمِّلْنَا مَا لَا طَاقَةَ لَنَا بِهِۦ ۖ وَٱعْفُ عَنَّا وَٱغْفِرْ لَنَا وَٱرْحَمْنَآ ۚ أَنتَ مَوْلَىٰنَا فَٱنصُرْنَا عَلَى ٱلْقَوْمِ ٱلْكَـٰفِرِينَ ٢٨٦

The Prophet ﷺ also said: 'Whoever recites the last two verses of Surah Al-Baqarah at night; those two verses shall be sufficient for him.'

(Bukhari 5009, Muslim 808)

Dua 4: In Your name my Lord I lie down

بِاسْمِكَ رَبِّي وَضَعْتُ جَنْبِي، وَبِكَ أَرْفَعُهُ، فإِنْ أَمْسَكْتَ نَفْسِي فَارْحَمْهَا، وَإِنْ أَرْسَلْتَهَا فَاحْفَظْهَا، بِمَا تَحْفَظُ بِهِ عِبَادَكَ الصَّالِحِينَ

"If one of you rises from his bed and then returns to it he should dust it with the edge of his garment three times for he does not know what has occurred in his absence and when he lies down he should supplicate:'In Your name my Lord, I lie down and in Your name I rise, so if You should take my soul then have mercy upon it, and if You should return my soul then protect it in the manner You do so with Your righteous servants.'"

(Bukhari 6320, Muslim 2714)

Dua 5: You created my soul

اللَّهُمَّ إِنَّكَ خَلَقْتَ نَفْسي وَأَنْتَ تَوَفَّاهـَا، لَكَ مَمَاتُهَا وَمَحْيَاهَا، إِنْ أَحْيَيْتَهَا فَاحْفَظْهَا، وَإِنْ أَمَتَّهَا فَاغْفِرْ لَهَا، اللَّهُمَّ إِنِّي أَسْألُكَ العَافِيَةَ

"O Allah, verily You have created my soul and You shall take its life, to You belongs its life and death. If You should keep my soul alive then protect it, and if You should take its life then forgive it. O Allah, I ask You to grant my good health."

(Muslim 2712)

Dua 6: Protect me from Your punishment

اللَّهُمَّ قِنِي عَذابَكَ، يَوْمَ تَبْعَثُ عِبَادَكَ

"O Allah, protect me from Your punishment on the day Your servants are resurrected."

(Abu Dawud 5045 (sahih per al-Albani), at-Tirmidhi 3398 (sahih per al-Albani))

Dua 7: In Your name O Allah, I live and die

بِاسْمِكَ اللَّهُمَّ أَموتُ وَأحْيَا

"In Your name O Allah, I live and die."

(Bukhari 6312, Muslim 2711)

Dua 8: Tasbih 33, tahmid 33, takbir 34

سُبْحَانَ اللهِ (ثَلاثاً وثَلاثِينَ)

وَالحَمْدُ لِلَّهِ (ثَلاثاً وثَلاثِينَ)

وَاللهُ أكْبرُ (أربَعاً وثَلاثِينَ)

"How Perfect is Allah [Thirty-three times].

All praise is for Allah [Thirty-three times].

Allah is the Greatest [Thirty-four times]."

(Bukhari 3705, Muslim 2727)

Dua 9: Lord of the seven heavens

اللَّهُمَّ رَبَّ السَّمَوَاتِ السَّبْعِ، وَرَبَّ الأرْضِ، وربَّ العَرْشِ العَظِيمِ، رَبَّنَا وَرَبَّ كُلِّ شَيءٍ، فَالِقَ الحَبِّ وَالنَّوَى، وَمُنْزِلَ التَّوْرَاةِ وَالإنْجِيْلِ و الفُرْقَانِ، أَعوذُ بِكَ مِن شَرِّ كُلِّ شَيءٍ أَنْتَ آخِذٌ بِنَاصِيتِهِ، اللَّهُمَّ أَنْتَ الأوَّلُ فَلَيْسَ قَبْلَكَ شَيءٌ، وَأَنْتَ الآخِرُ فَلَيْسَ بَعْدَكَ شَيْءٌ، وَأَنْتَ الظَّاهِرُ فَلَيْسَ فَوْقَكَ شَيءٌ، وَأَنْتَ الْبَاطِنُ فَلَيْسَ دُونَكَ شَيءٌ، اقْضِ عَنَّا الدَّيْنَ، وَأَغْنِنَا مِنَ الفَقْرِ

"O Allah, Lord of the seven heavens, Lord of the earth and Lord of the exalted throne, our Lord and Lord of all things, Splitter of the seed and the date stone, Revealer of the Tawrâh, the Injîl and the Furqân, I take refuge in You from the evil of all things You shall seize by the forelock. O Allah, You are The First so there is nothing before You and You are The Last so there is nothing after You. You are Až-Žâhir so there is nothing above You and You are Al-Baťin so there is nothing closer than You. Settle our debt for us and spare us from poverty."

(Muslim 2713)

Dua 10: Who fed us and gave us drink

الحَمْدُ لِلَّهِ الَّذِي أَطْعَمَنَا وَسَقَانَا، وَكَفَانَا، وَآوَانَا، فَكَمْ مِمَّنْ لَا كَافِيَ لَهُ وَلَا مُؤْوِيَ

"All praise is for Allah, Who fed us and gave us drink, and Who is sufficient for us and has sheltered us, for how many have none to suffice them or shelter them."

(Muslim 2715)

Dua 11: Knower of the seen and the unseen

اللَّهُمَّ عالِمَ الغَيْبِ وَالشّهَادَةِ فَاطِرَ السَّمَوَاتِ وَالأرْضِ، رَبَّ كُلِّ شَيْءٍ وَمَلَيْكَهُ، أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا أَنْتَ، أَعُوذُ بِكَ مِن شَرِّ نَفْسِي، وَمِنْ شَرِّ الشَّيْطَانِ وَشِرْكِهِ، وَأَنْ أَقْتَرِفَ عَلَى نَفْسِي سُوءاً، أَوْ أَجُـرَّهُ إِلَى مُسْلِمٍ

"O Allah, Knower of the seen and the unseen, Creator of the heavens and the earth, Lord and Sovereign of all things I bear witness that none has the right to be worshipped except You. I take refuge in You from the evil of my soul and from the evil and shirk of the devil, and from committing wrong against my soul or bringing such upon another Muslim."

(At-Tirmidhi 3392 and 3529, sahih per al-Albani)

Dua 12: Surah as-Sajdah and Surah al-Mulk

يَقْرَاُ ﴿الٓمٓ . تَنْزِيْلُ الْكِتَابِ...﴾ وَ ﴿تَبَارَكَ الَّذِي بِيَدِهِ المُلْكَ...﴾

Recite Sûrah As-Sajdah and Sûrah Al-Mulk.

(At-Tirmidhi 3404, sahih per al-Albani)

Dua 13: The last words before sleep

اللَّهُمَّ أَسْلَمْتُ نَفْسِي إِلَيْكَ، وَفَوَّضْتُ أَمْرِي إِلَيْكَ، وَوَجَّهْتُ وَجْهِي إِلَيْكَ، وَأَلْجَأتُ ظَهْرِي إِلَيْكَ، رَغْبَةً وَرَهْبَةً إِلَيْكَ، لَا مَلْجَأَ وَلا مَنْجَا مِنْكَ إِلَّا إِلَيْكَ، آمَنْتُ بِكِتَابِكَ الَّذِي أَنْزَلْتَ، وَبِنَبِيِّكَ الَّذِي أَرْسَلْتَ

"O Allah, I submit my soul unto You, and I entrust my affair unto You, and I turn my face towards You, and I totally rely on You, in hope and fear of You. Verily there is no refuge nor safe haven from You except with You. I believe in Your Book which You have revealed and in Your Prophet whom You have sent."

(Bukhari 6311 and 6313, Muslim 2710)

When to say it

Say these when you go to bed. Several narrations add etiquette: make wudu as for prayer and lie on your right side (Bukhari 6311); dust off the bed three times with the edge of a garment before lying down (Bukhari 6320); place your right hand under your cheek (Abu Dawud 5045). Al-Bara' was told to make Dua 13 the last thing he said (Bukhari 6311).

The sound hadiths on du'as before sleeping, and the verses to recite, are listed in the sources below.

The hadith behind it

Dua 1. 'Aishah reports that every night, when the Prophet ﷺ went to bed, he cupped his hands, blew lightly into them, recited al-Ikhlas, al-Falaq and an-Nas, then wiped over as much of his body as he could, starting with his head, face and front, three times (Bukhari 5017).

Dua 2. Abu Hurayrah was guarding the zakah of Ramadan when someone came to take the food. On the third night the man taught him to recite Ayat al-Kursi on going to bed: a guardian from Allah would stay with him and no devil would come near until morning. The Prophet ﷺ said the man had told the truth though he was a liar, and that it was a devil (Bukhari 2311). Bukhari records this in mu'allaq form.

Dua 3. Abu Mas'ud reports that the Prophet ﷺ said whoever recites the last two verses of al-Baqarah at night, they will suffice him (Bukhari 5009; Muslim 808).

Dua 4. Abu Hurayrah reports the instruction to dust the bed, then say this du'a (Bukhari 6320; Muslim 2714).

Dua 5. Ibn 'Umar told a man to say this on going to bed and said he heard it from the Prophet ﷺ (Muslim 2712).

Dua 6. Hafsah reports that the Prophet ﷺ put his right hand under his cheek and said this three times (Abu Dawud 5045). Hudhayfah reports it too (at-Tirmidhi 3398).

Dua 7. Hudhayfah and al-Bara' report this as what the Prophet ﷺ said when going to bed (Bukhari 6312; Muslim 2711).

Dua 8. Fatimah asked her father for a servant because the hand-mill had hurt her hands. He came to her and 'Ali at bedtime and taught them this dhikr, saying it was better for them than a servant (Bukhari 3705; Muslim 2727). 'Ali said he never left it afterwards (Muslim 2727).

Dua 9. Abu Hurayrah reports that the Prophet ﷺ taught them to lie on the right side and say this (Muslim 2713).

Dua 10. Anas reports this from the Prophet ﷺ for going to bed (Muslim 2715).

Dua 11. Abu Bakr was taught this for morning, evening and when going to bed (at-Tirmidhi 3392). Hisnul Muslim cites Abu Dawud 5083 here, but that narration has different wording and is graded weak; at-Tirmidhi 3392 is the matching source.

Dua 12. Jabir reports that the Prophet ﷺ would not sleep until he had recited Surah as-Sajdah and Surah al-Mulk (at-Tirmidhi 3404).

Dua 13. Al-Bara' ibn 'Azib was told: make wudu, lie on your right side and say this; if you die that night, you die on the fitrah, so make it the last thing you say. When he repeated it back with "Your Messenger", the Prophet ﷺ corrected him to "Your Prophet" (Bukhari 6311; Muslim 2710).

Frequently asked questions

What is the shortest dua before sleeping?

"In Your name, O Allah, I die and I live", from Bukhari 6312.

Which side should I sleep on?

The right side, as in Bukhari 6311 and Muslim 2713.

Do I have to recite all of these?

No. They are different du'as the Prophet ﷺ said or taught. Saying any of them follows the Sunnah.

What is the virtue of Ayat al-Kursi before sleep?

A guardian from Allah stays with you and no devil comes near you until morning (Bukhari 2311).

In Tasleem

Tasleem's Duas section has all of these bedtime du'as from Hisnul Muslim, with Arabic and meaning, alongside the morning and evening adhkar.

Sources