Sleeping and Waking

Sunnahs of Sleeping and Waking: Simple Acts of Prophetic Guidance

All praise is due to Allah, Lord of the worlds. May peace and blessings be upon our Prophet Muhammad, his family, and all his Companions.

A person spends a substantial part of life sleeping and waking. The Sunnah teaches simple acts that help Muslims end and begin their days with remembrance of Allah, purification, and adherence to Prophetic guidance. Describing these as neglected Sunnahs does not mean that all Muslims have abandoned them. Rather, many people overlook some of them or do not combine them with other established practices.

The devotional practices before sleep discussed below are recommended, not obligatory. A person does not sin by leaving them, and they should not become a source of harshness or obsessive doubts. Nevertheless, observing them is an expression of love for the Prophet, peace and blessings be upon him, and of following his guidance.

Sunnahs Before Sleep

1Making Wudu and Lying on the Right Side

The Prophet, peace and blessings be upon him, said to al-Bara ibn Azib, may Allah be pleased with him:

إِذَا أَتَيْتَ مَضْجَعَكَ فَتَوَضَّأْ وُضُوءَكَ لِلصَّلَاةِ، ثُمَّ اضْطَجِعْ عَلَى شِقِّكَ الأَيْمَنِ

Meaning: "When you go to bed, perform wudu as you do for prayer, then lie down on your right side."

Reported by al-Bukhari and Muslim.

Making wudu before sleep is a Sunnah, and a Muslim begins sleeping on the right side. This does not mean that sleeping on the other side is forbidden when needed, or that turning onto it during sleep is forbidden.

If a person breaks wudu after performing it but before sleeping, they may renew it to observe this Sunnah. Doing so is not obligatory.

2Dusting the Bed Before Lying Down

The Prophet, peace and blessings be upon him, said:

إِذَا أَوَى أَحَدُكُمْ إِلَى فِرَاشِهِ فَلْيَنْفُضْ فِرَاشَهُ بِدَاخِلَةِ إِزَارِهِ؛ فَإِنَّهُ لَا يَدْرِي مَا خَلَفَهُ عَلَيْهِ

Meaning: "When one of you goes to bed, let him dust his bed with the inside of his lower garment, for he does not know what may have come onto it after he left it."

Reported by al-Bukhari and Muslim. An authentic narration also mentions dusting it three times.

Today, the purpose can be fulfilled by dusting the bed with the edge of a garment, a covering, or something similar before lying down. This Sunnah combines following Prophetic guidance with taking precautions for safety.

3Placing the Hand Under the Cheek and Saying the Supplication

When the Prophet, peace and blessings be upon him, went to bed at night, he placed his hand under his cheek and said:

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

Meaning: "O Allah, in Your name I die and live."

Reported by al-Bukhari.

It is also established that he placed his right hand under his cheek and said:

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

Meaning: "O Allah, protect me from Your punishment on the Day You resurrect Your servants."

Reported by Abu Dawud and graded authentic by a number of scholars.

4Reciting Ayat al-Kursi

In the account of Abu Hurayrah, may Allah be pleased with him, it is established that a person who recites Ayat al-Kursi before sleeping was told:

لَنْ يَزَالَ عَلَيْكَ مِنَ اللَّهِ حَافِظٌ، وَلَا يَقْرَبُكَ شَيْطَانٌ حَتَّى تُصْبِحَ

Meaning: "A guardian from Allah will remain over you, and no devil will approach you until morning."

The Prophet, peace and blessings be upon him, said about the devil who had told him this: "He told you the truth, although he is a habitual liar." Reported by al-Bukhari.

This means that Allah appoints a guardian for the person. Allah alone is the Protector; reciting Ayat al-Kursi is a prescribed means of protection, not something that works independently of His will, exalted is He.

5Reciting al-Ikhlas, al-Falaq, and al-Nas and Wiping the Body

Every night when the Prophet, peace and blessings be upon him, went to bed, he brought his palms together, gently blew into them, and recited: "Say: He is Allah, One" (al-Ikhlas), "Say: I seek refuge in the Lord of daybreak" (al-Falaq), and "Say: I seek refuge in the Lord of mankind" (al-Nas). He then wiped as much of his body as he could with them, beginning with his head, face, and the front of his body. He did this three times. Reported by al-Bukhari.

The Arabic term nafth refers to gentle blowing accompanied by a very small amount of saliva, not spitting.

6Reciting Surat al-Kafirun

The Prophet, peace and blessings be upon him, said to Nawfal, may Allah be pleased with him:

اقْرَأْ: {قُلْ يَا أَيُّهَا الكَافِرُونَ}، ثُمَّ نَمْ عَلَى خَاتِمَتِهَا؛ فَإِنَّهَا بَرَاءَةٌ مِنَ الشِّرْكِ

Meaning: "Recite: 'Say: O disbelievers,' then go to sleep after completing it, for it is a declaration of freedom from shirk."

Reported by Abu Dawud and al-Tirmidhi, and graded authentic by al-Albani.

A Muslim recites the entire surah before sleeping, reflecting on its affirmation of worship devoted sincerely to Allah and rejection of shirk, without believing that reciting it is obligatory.

7Reciting the Last Two Verses of Surat al-Baqarah at Night

The Prophet, peace and blessings be upon him, said:

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

Meaning: "Whoever recites the last two verses of Surat al-Baqarah in a night, they will suffice him."

Reported by al-Bukhari and Muslim.

The hadith concerns the night generally, so these verses do not have to be recited specifically when lying down. Scholars have explained "they will suffice him" in different ways: some said protection from harm or from the devil, while others said sufficiency in place of standing in prayer that night. The hadith indicates great virtue without requiring us to insist on only one of these meanings. Night prayer remains a separate voluntary act, and nothing replaces the obligatory prayers.

8Established Supplications Before Sleep

Among the most comprehensive bedtime supplications is what the Prophet, peace and blessings be upon him, taught al-Bara, may Allah be pleased with him:

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

Meaning: "O Allah, I have submitted my face to You, entrusted my affairs to You, and turned to You for support, in hope of You and fear of You. There is no refuge or escape from You except with You. I believe in Your Book which You revealed and in Your Prophet whom You sent."

He instructed him to make this supplication his last words and said: "If you die that night, you will be upon the fitrah," meaning the natural disposition of faith. Reported by al-Bukhari and Muslim.

Another established supplication is:

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

Meaning: "In Your name, my Lord, I lay down my side, and by You 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."

Reported by al-Bukhari and Muslim.

There are other authentic bedtime adhkar. For a collection of their wordings and evidence, see Sleep and Waking Adhkar.

9The Tasbih Taught to Fatimah and Ali

When Fatimah, may Allah be pleased with her, asked for a servant, the Prophet, peace and blessings be upon him, directed her and Ali, may Allah be pleased with him, to say before sleeping:

  • سُبْحَانَ اللَّهِ: Subhan Allah, "Glory be to Allah," thirty-three times.
  • الْحَمْدُ لِلَّهِ: Alhamdu lillah, "All praise is due to Allah," thirty-three times.
  • اللَّهُ أَكْبَرُ: Allahu akbar, "Allah is the Greatest," thirty-four times.

He told them: "It is better for you both than a servant." Reported by al-Bukhari and Muslim.

This remembrance is a Sunnah for men and women, not something exclusive to Fatimah and Ali, may Allah be pleased with them both.

10Closing Doors, Covering Vessels, and Removing Fire Hazards

The Prophet, peace and blessings be upon him, said:

أَطْفِئُوا المَصَابِيحَ إِذَا رَقَدْتُمْ، وَغَلِّقُوا الأَبْوَابَ، وَأَوْكُوا الأَسْقِيَةَ، وَخَمِّرُوا الطَّعَامَ وَالشَّرَابَ

Meaning: "Extinguish the lamps when you sleep, close the doors, tie the mouths of the waterskins, and cover food and drink."

Reported by al-Bukhari and Muslim.

A Muslim closes the doors of the home while mentioning Allah's name, covers vessels, and does not leave a fire or a heating or cooking appliance running when its harm is feared during sleep. This combines reliance on Allah with taking practical precautions. It does not mean that safe electric lighting must be switched off merely because it is called a lamp.

Sunnahs Upon Waking

11Beginning with Praise of Allah

When the Prophet, peace and blessings be upon him, woke up, he said:

الحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا، وَإِلَيْهِ النُّشُورُ

Meaning: "All praise is due to Allah, who gave us life after causing us to die, and to Him is the resurrection."

Reported by al-Bukhari.

Sleep is a lesser death, and waking reminds a Muslim of resurrection and returning to Allah. Begin with this remembrance before becoming occupied with a phone or conversation.

12Using the Siwak When Rising at Night

Hudhayfah, may Allah be pleased with him, said:

كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا قَامَ مِنَ اللَّيْلِ يَشُوصُ فَاهُ بِالسِّوَاكِ

Meaning: "When the Prophet, peace and blessings be upon him, rose at night, he cleaned his mouth with the siwak."

Reported by al-Bukhari and Muslim.

The expression yashusu fahu means rubbing and cleaning the mouth with the siwak. This is especially emphasized when rising for tahajjud, Quran recitation, and prayer.

13Washing the Hands Before Dipping Them into a Water Vessel

The Prophet, peace and blessings be upon him, said:

إِذَا اسْتَيْقَظَ أَحَدُكُمْ مِنْ نَوْمِهِ فَلَا يَغْمِسْ يَدَهُ فِي الإِنَاءِ حَتَّى يَغْسِلَهَا ثَلَاثًا؛ فَإِنَّهُ لَا يَدْرِي أَيْنَ بَاتَتْ يَدُهُ

Meaning: "When one of you wakes from sleep, he must not dip his hand into the vessel until he has washed it three times, for he does not know where his hand spent the night."

Reported by al-Bukhari and Muslim.

This ruling concerns putting the hand into a vessel of water before washing it. Someone using a tap without dipping a hand into a vessel is not in the same situation addressed by this prohibition. Washing both hands at the beginning of wudu remains recommended.

14Rinsing the Nose and Expelling the Water

The Prophet, peace and blessings be upon him, said:

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

Meaning: "When one of you wakes from sleep and performs wudu, let him expel water from his nose three times, for the devil spends the night on the inner part of his nose."

Reported by al-Bukhari and Muslim.

Istinthar means expelling water from the nose after drawing it in. We believe the Prophet's report, peace and blessings be upon him, as it came, without speculating about how the devil spends the night on the inner part of the nose.

For the complete method of wudu, see How to Make Wudu Correctly.

15Remembrance, Supplication, and Prayer When Waking During the Night

The Prophet, peace and blessings be upon him, said: "Whoever wakes during the night," then mentioned declaring Allah's oneness, praising Him, glorifying Him, declaring His greatness, and saying that there is no power or strength except through Allah. He continued:

ثُمَّ قَالَ: اللَّهُمَّ اغْفِرْ لِي، أَوْ دَعَا؛ اسْتُجِيبَ لَهُ، فَإِنْ قَامَ فَتَوَضَّأَ ثُمَّ صَلَّى قُبِلَتْ صَلَاتُهُ

Meaning: "Then he says: 'O Allah, forgive me,' or supplicates, he will be answered. If he gets up, performs wudu, and then prays, his prayer will be accepted." Reported by al-Bukhari.

This is an opportunity that many overlook: someone who wakes at night begins with affirming Allah's oneness and remembering Him, then supplicates or gets up to pray.

It is also established in the hadith of Ibn Abbas, may Allah be pleased with them both, that when the Prophet, peace and blessings be upon him, rose for tahajjud, he wiped the sleep from his face with his hand, recited the final ten verses of Surat Al Imran, performed wudu, and began praying. Reported by al-Bukhari and Muslim. This was part of his guidance when rising for night prayer; reciting these verses should not be treated as a requirement after every ordinary awakening.

The full wording of the remembrance for someone who wakes during the night is available in Adhkar Upon Waking Up. For the method of night prayer, see Qiyam al-Layl and Tahajjud.

What to Do After a Disturbing Dream
Prophetic Guidance

What to Do After a Disturbing Dream

If someone sees a dream they dislike, the Sunnah is to blow gently to the left three times, seek refuge in Allah from the devil and from the evil of what they saw, turn onto the other side, and not tell anyone about it. They may also get up and pray. The Prophet, peace and blessings be upon him, stated that if they do this, the disliked dream will not harm them. The relevant hadiths are established in al-Bukhari and Muslim.

A Muslim should therefore not publicize a frightening dream, base a religious ruling or an accusation against someone on it, or become preoccupied with asking everyone to interpret it. As for a good dream, they should praise Allah for it and tell only someone they love.

Common Mistakes
Prophetic Guidance

Common Mistakes

  • Believing that the Sunnahs of sleeping and waking are obligatory, or scolding family members for leaving some of them.
  • Specifying a remembrance, surah, or number that is not established, then attributing it to the Sunnah.
  • Believing that adhkar protect by themselves. Protection comes from Allah, and adhkar are prescribed means that benefit by His permission.
  • Applying the hadith about washing the hands outside its particular context, when the stated prohibition concerns dipping them into a vessel before washing them.
  • Saying that the last two verses of Surat al-Baqarah may only be recited at bedtime, although the hadith mentions reciting them during the night.
  • Becoming absorbed in a phone until one falls asleep before saying the adhkar or misses Fajr prayer.
  • Becoming obsessive about the sequence or repetition of adhkar. What is prescribed is to follow established wordings and numbers without undue difficulty.
Frequently Asked Questions
Question and Answer

Are the Sunnahs of Sleeping and Waking Obligatory?

No. These are Sunnahs, not obligatory acts. It is best to observe as many as one can, beginning with a small number of established practices until they become habitual, then adding more without imposing on oneself or others something Allah has not made obligatory.

Question and Answer

Must All Bedtime Adhkar Follow a Particular Sequence?

No mandatory sequence is established for all bedtime adhkar. A Muslim follows what is established, observes the prescribed count when a remembrance has one, and does not believe that gathering all the adhkar or arranging them in one particular order is a condition for receiving the reward.

Question and Answer

May I Read Bedtime Adhkar from a Phone?

Yes, especially while learning. It is better to memorize frequently repeated adhkar so that they can be said calmly and attentively. Afterwards, put the phone aside so that it does not become a reason for staying up late or missing prayer.

Question and Answer

May Menstruating Women and Women with Postpartum Bleeding Say These Adhkar?

Yes. Remembrance and supplication are prescribed for women during menstruation and postpartum bleeding. According to the view preferred here, they may also recite the Quran from memory or a phone, without directly touching a printed mushaf until their bleeding has ended and they have performed ghusl. For details, see Can a Menstruating Woman Read the Quran and Touch the Mushaf?.

Question and Answer

What If I Forget Some Bedtime Adhkar?

There is no sin upon you, because they are Sunnah. Do not allow forgetting to become an opening for obsessive doubts. Return to them the following night and use a short written reminder or a gentle notification until you memorize them.

Related Articles
Conclusion
Summary

Conclusion

Before sleeping: perform wudu if possible, dust your bed three times, lie on your right side, recite Ayat al-Kursi, al-Ikhlas, al-Falaq, and al-Nas, and say whatever authentic adhkar you can. Do not forget the tasbih taught to Fatimah and Ali, may Allah be pleased with them both.

Upon waking: begin by praising Allah, use the siwak when rising at night, wash your hands before dipping them into a vessel of water, and expel water from your nose three times when performing wudu. If you wake during the night, take the opportunity to say the remembrance for waking at night, supplicate, and pray.

These are simple acts, but their value lies in sincerely following the Sunnah and remaining consistent. Whoever sleeps and wakes remembering Allah has ended and begun the day with affirmation of His oneness, praise, and acknowledgment of their need for their Lord. Allah Most High knows best.