Practice

Sleep protection: the Prophet's own bedtime routine

'Whenever the Prophet (peace be upon him) went to bed every night, he used to cup his hands together and blow over them after reciting Surat Al-Ikhlas, Surat Al-Falaq and Surat An-Nas...' (Sahih al-Bukhari 5017). This is the complete bedtime routine.

Notice:Editorial team review only - scholar review pending

The complete bedtime routine

Narrated by Aishah (radiy-Allahu anha)

أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ إِذَا أَوَى إِلَى فِرَاشِهِ كُلَّ لَيْلَةٍ جَمَعَ كَفَّيْهِ ثُمَّ نَفَثَ فِيهِمَا فَقَرَأَ فِيهِمَا قُلْ هُوَ اللَّهُ أَحَدٌ وَ قُلْ أَعُوذُ بِرَبِّ الْفَلَقِ وَ قُلْ أَعُوذُ بِرَبِّ النَّاسِ ثُمَّ يَمْسَحُ بِهِمَا مَا اسْتَطَاعَ مِنْ جَسَدِهِ يَبْدَأُ بِهِمَا عَلَى رَأْسِهِ وَوَجْهِهِ وَمَا أَقْبَلَ مِنْ جَسَدِهِ يَفْعَلُ ذَلِكَ ثَلاَثَ مَرَّاتٍ

Whenever the Prophet went to bed every night, he used to cup his hands together and blow over them after reciting Surat Al-Ikhlas, Surat Al-Falaq and Surat An-Nas, and then rub his hands over whatever parts of his body he was able to rub, starting with his head, face and front of his body. He used to do that three times.

Sahih al-Bukhari 5017 · Sahih (al-Bukhari)Verified

Narrated by Abu Hurairah (radiy-Allahu anhu)

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

When you go to bed, recite Ayat al-Kursi; a guardian from Allah will remain with you, and no shaytan will come near you until morning.

Sahih al-Bukhari 5010 · Sahih (al-Bukhari)Verified

Narrated by Abu Mas'ud al-Ansari (radiy-Allahu anhu)

مَنْ قَرَأَ بِالآيَتَيْنِ مِنْ آخِرِ سُورَةِ الْبَقَرَةِ فِي لَيْلَةٍ كَفَتَاهُ

Whoever recites the last two ayat of Surat al-Baqarah at night, they will suffice him.

Sahih al-Bukhari 5009 · Sahih (al-Bukhari)Verified

Step-by-step

  1. Lie down or sit up in bed.
  2. Cup your hands at chest height.
  3. Recite Surah Al-Ikhlas, Surah Al-Falaq, and Surah An-Nas, in that order.
  4. Breathe softly into your cupped hands after each recitation.
  5. Wipe your hands over your body, starting from the head and face, then the front of the body, then as far as you can reach.
  6. Repeat steps 3-5 a total of three times.
  7. Recite Ayat al-Kursi once.
  8. Recite the last two ayat of Surat al-Baqarah once.
  9. Say bismillahi tawakkaltu 'ala-Allah and the prophetic sleep du'a (Allahumma bi-smika amutu wa ahya).
  10. Sleep on your right side, hand under your right cheek, as the Prophet () taught.

The verses

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

The Messenger has believed in what was revealed to him from his Lord, and so have the believers. All of them have believed in Allah and His angels and His books and His messengers, saying, 'We make no distinction between any of His messengers.' And they say, 'We hear and we obey. Your forgiveness, our Lord, and to You is the final destination.' Allah does not charge a soul except with that within its capacity. It will have what it has earned, and it will bear what it has earned. 'Our Lord, do not impose blame upon us if we have forgotten or erred. Our Lord, lay not upon us a burden like that which You laid upon those before us. Our Lord, burden us not with that which we have no ability to bear. And pardon us; and forgive us; and have mercy upon us. You are our protector, so give us victory over the disbelieving people.'

Listen1 / 2 · Mishary al-Afasy
Qur'an 2:285-286Verified

If you wake from a bad dream

The Prophet () taught: when a bad dream comes, spit lightly three times to your left, seek refuge in Allah from the shaytan three times, change the side you were sleeping on, and do not narrate the dream to anyone. The bad dream is a thread the shaytan dangles; the prophetic response cuts the thread.

If sleep itself is the problem

If you struggle to sleep, the prescription is layered: maintain a consistent sleep window, reduce screen exposure in the hour before bed, finish caffeine by midday, recite the routine above, make du'a for ease. If insomnia persists more than a few weeks, see a qualified doctor; sleep disorders are medical and treatable, and treating them does not contradict tawakkul.

Narrated by Abu Hurairah (radiy-Allahu anhu)

مَا أَنْزَلَ اللَّهُ دَاءً إِلاَّ أَنْزَلَ لَهُ شِفَاءً

Allah has not sent down any disease without also sending down its treatment.

Sahih al-Bukhari 5678 · Sahih (al-Bukhari)Verified
?Do I have to recite all three surahs three times each?
Yes, that is the Sunnah as narrated in Sahih al-Bukhari 5017. The three times applies to the whole sequence: Ikhlas + Falaq + Nas, blown into hands, wiped over body - repeated three times.
?Can I do this lying down or do I need to sit up?
Either is permitted. The Prophet () did this as he went to bed; he was not stipulated to a posture. The point is the recitation and the wiping.
?What if I drift off before finishing?
The fact that you began the routine is itself a sign of intention. Continue tomorrow night without guilt.
?Is it the same routine for a small child going to sleep?
Yes. A parent can recite over the child, blow over them, and wipe their head and face. The Prophet () did this for Hasan and Husayn (radiy-Allahu anhuma) (Sahih al-Bukhari 3371). As the child grows, teach them to recite for themselves.
?What about during travel, in a strange room?
Especially during travel. New rooms can carry an unfamiliar feel; the Sunnah of cupping the hands and reciting the Mu'awwidhat is the protection for any location. Add bismillah when entering the room for the first time.
?Can I recite Ayat al-Kursi after the three-times recitation, or does it come first?
The sequence is not strict. What matters is that all three elements (the Mu'awwidhat routine three times, Ayat al-Kursi, and the last two ayat of Surat al-Baqarah) are recited before sleep. Most scholars do the Mu'awwidhat routine first.