Sleep as part of ibada'

For a Muslim, sleep is more than the end of activity. The Messenger of Allah taught a set of etiquette and du'as so that the close of our day is filled with dhikr, not anxiety or a screen that stays lit. When the day ends with remembering Allah, we hand all its affairs over to Him and rest with a lighter heart.

This article summarizes sleeping etiquette supported by authentic hadith, then offers practical steps to make it easy every night. You do not need everything at once; begin with one or two of the lightest practices. Sleep that begins with dhikr also teaches humility: we realize that waking again tomorrow is a gift, not a right. Beyond movements and recitations, good sleep is also tied to the state of the heart. Many people struggle to fall asleep not because the body is not tired, but because the mind is still full of unfinished matters, hurtful words, or worries about tomorrow. The du'a of surrender in the hadith of Al-Bara' is a fitting answer: we entrust our affairs to Allah and learn to let go of what we cannot finish tonight. Try setting aside a minute or two for reflection: what went well today that deserves gratitude, and what needs forgiveness. If someone hurt us, learn to forgive as best we can so the heart does not carry a burden into sleep. If we were the one who erred, intend to make it right tomorrow. Finally, intend to wake up for Fajr. A good intention before sleep makes the sleep itself valuable before Allah, insha'Allah. More about intention and waking up early is in our Fajr routine guide.

Making wudu and lying on the right side

The hadith from Al-Bara' ibn 'Azib teaches three things at once: make wudu as for prayer, lie on your right side, then recite the du'a of surrender. The Prophet also made this du'a the last words before sleeping. At the end of the hadith, Al-Bara' tried to repeat it and replaced one word, but the Prophet corrected him. This shows how we are encouraged to preserve the wording of the du'a as it was taught.

📜 Sahih

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

"When you want to go to bed, perform ablution as you do for prayer, then lie down on your right side and say: 'Allahumma aslamtu wajhi ilaika, wa fawwadtu 'amri ilaika wa alja'tu dhahri ilaika, raghbatan wa rahbatan ilaika, la malja'a wa la manja minka illa ilaika. Amantu bikitabik al-ladhi anzalta wa binabiyyika al-ladhi arsalta'. If you should die then (after reciting this) you will die on the religion of Islam (i.e., as a Muslim); so let these words be the last you say (before going to bed)"

HR. Bukhari no. 6311

This du'a contains five things: surrendering yourself, entrusting your affairs, leaning on Allah, acknowledging there is no refuge except with Him, and believing in His Book and Prophet. Night is a fitting time to renew all five. If wudu feels heavy one night because you are exhausted, still try to recite the du'a, and keep working to maintain wudu on the following nights. Wudu before sleep also gives a refreshing pause: water touches the face and hands, the body begins to slow, and the heart prepares for dhikr. Many people find that this small routine helps them move from the busyness of the day to a calmer atmosphere.

Reciting the last three surahs and wiping the body

Aisha narrated the Prophet's habit every night when he went to bed: he would join his palms, blow into them while reciting Al-Ikhlas, Al-Falaq and An-Nas, then wipe them over whatever parts of his body he could reach, starting with his head and face, three times.

📜 Sahih

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

"Whenever the Prophet (ﷺ) went to bed every night, he used to cup his hands together and blow over it 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"

HR. Bukhari no. 5017

This habit is simple and anyone can do it, even children who have just memorized short surahs. The three surahs are short, so there is no real difficulty. What the hadith teaches is to blow lightly into the hands after reciting and then wipe the body, three times.

Shaking out the bed and reciting the du'a

A hadith of Abu Hurairah teaches another etiquette: before lying down, shake out your bed with the inside of your waist sheet, because we do not know what has come onto it after we left. After that we say a du'a asking Allah to have mercy on and protect our souls.

📜 Sahih

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

"When anyone of you go to bed, he should shake out his bed with the inside of his waist sheet, for he does not know what has come on to it after him, and then he should say: 'Bismika Rabbi Wada`tu Janbi wa bika arfa'uhu, In amsakta nafsi farhamha wa in arsaltaha fahfazha bima tahfazu bihi ibadakas-salihin"

HR. Bukhari no. 6320

Today we can practice this by tidying and lightly patting the sheet or pillow. The point is carefulness and the awareness that sleep is a vulnerable state whose protection we entrust to Allah.

Building a light bedtime routine

Here is a simple sequence you can try. Arrange it according to your ability, and remember that consistency is worth more than perfection.

If on a certain night you cannot do everything, do not let that be a reason to stop. Take the one practice that is most possible, for example reciting the last three surahs while lying down. One small practice that is maintained is better than a long plan that is abandoned. Faulty habits should also be corrected gradually, such as holding the phone until falling asleep, which can be replaced by placing it away from the pillow from the start. A few things often cause bedtime etiquette to be missed. Recognizing them helps us fix them without excessive guilt.

  • Finish Isha and witr first, then put the phone aside so the mind can settle.
  • Make wudu, shake out the bed, then lie on your right side.
  • Recite Ayat al-Kursi and the last three surahs, then wipe your body as in the Sunnah.
  • Close with the du'a from the hadith of Al-Bara' as your last words before sleep.
  • Forgive those who hurt you today and intend to rise for the Fajr prayer.

Your bedtime du'a checklist for tonight

✓ Interactive Action Checklist

✓

Make wudu before lying down, if you have the energy.

✓

Recite the last three surahs and wipe your body three times.

✓

Memorize the first line of Al-Bara's du'a.

✓

Make the sleep du'a your last words before your eyes close.

Frequently asked questions

Is wudu before sleep obligatory?

The hadith commands it as a recommended etiquette. Scholars explain its ruling in detail, so ask an ustadz if you want specifics. What is certain is that doing it is good.

What if I forget the du'a and remember after lying down?

Recite it right then. It is not too late as long as you have not fallen asleep. If you have not memorized the wording, read it from a note.

Must I stay on my right side all night?

No. The hadith recommends lying on the right side when you begin sleeping. After that, there is no need to force a body position.

Can children be taught bedtime dhikr?

Very good. Start with the three short surahs and a short du'a, and model it yourself so they imitate it happily.