Vangie

Muslim, Jewish, Hindu, Sikh and Buddhist prayers

What to recite before sleeping in Islam

Before sleeping, many Muslims recite Ayatul Kursi (2:255), the last two verses of Surah al-Baqarah (2:285-286) and the three Quls, al-Ikhlas, al-Falaq and an-Nas, then say the short dua Bismika Allahumma amutu wa ahya. All of these are reported in hadith as practised or recommended by the Prophet Muhammad (peace be upon him).

Vangie's welcome screen, captioned: hope in the words of your own faith. Christian, Muslim, Jewish, Hindu, Sikh, Buddhist, or still finding your way
Hope in the words of your own faithChoose your tradition, Muslim, Jewish, Hindu, Sikh, Buddhist, Christian, secular or still exploring, and Vangie stays within it: she prays and reflects with you in its words, by chat or on a gentle phone call, and never pushes another path.Try Vangie free →Watch the 2-minute walkthrough

Qur'an to recite before sleeping

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

    “The messenger believeth in that which hath been revealed unto him from his Lord and (so do) believers. Each one believeth in Allah and His angels and His scriptures and His messengers - We make no distinction between any of His messengers - and they say: We hear, and we obey. (Grant us) Thy forgiveness, our Lord. Unto Thee is the journeying. Allah tasketh not a soul beyond its scope. For it (is only) that which it hath earned, and against it (only) that which it hath deserved. Our Lord! Condemn us not if we forget, or miss the mark! Our Lord! Lay not on us such a burden as thou didst lay on those before us! Our Lord! Impose not on us that which we have not the strength to bear! Pardon us, absolve us and have mercy on us, Thou, our Protector, and give us victory over the disbelieving folk.”

    Qur’an 2:285-286

    The last two verses of Surah al-Baqarah. In a report in Sahih al-Bukhari, whoever recites them at night will find them sufficient for him.

  2. قُلْ هُوَ ٱللَّهُ أَحَدٌ ﴿١﴾ ٱللَّهُ ٱلصَّمَدُ ﴿٢﴾ لَمْ يَلِدْ وَلَمْ يُولَدْ ﴿٣﴾ وَلَمْ يَكُن لَّهُۥ كُفُوًا أَحَدٌۢ ﴿٤﴾

    “Say: He is Allah, the One! Allah, the eternally Besought of all! He begetteth not nor was begotten. And there is none comparable unto Him.”

    Qur’an 112:1-4

    Surah al-Ikhlas, declaring that Allah is One, the Eternal, who neither begets nor was begotten.

  3. قُلْ أَعُوذُ بِرَبِّ ٱلْفَلَقِ ﴿١﴾ مِن شَرِّ مَا خَلَقَ ﴿٢﴾ وَمِن شَرِّ غَاسِقٍ إِذَا وَقَبَ ﴿٣﴾ وَمِن شَرِّ ٱلنَّفَّٰثَٰتِ فِى ٱلْعُقَدِ ﴿٤﴾ وَمِن شَرِّ حَاسِدٍ إِذَا حَسَدَ ﴿٥﴾

    “Say: I seek refuge in the Lord of the Daybreak From the evil of that which He created; From the evil of the darkness when it is intense, And from the evil of malignant witchcraft, And from the evil of the envier when he envieth.”

    Qur’an 113:1-5

    Surah al-Falaq, seeking refuge with the Lord of the daybreak from the evil of what He created, from darkness, and from envy.

  4. قُلْ أَعُوذُ بِرَبِّ ٱلنَّاسِ ﴿١﴾ مَلِكِ ٱلنَّاسِ ﴿٢﴾ إِلَٰهِ ٱلنَّاسِ ﴿٣﴾ مِن شَرِّ ٱلْوَسْوَاسِ ٱلْخَنَّاسِ ﴿٤﴾ ٱلَّذِى يُوَسْوِسُ فِى صُدُورِ ٱلنَّاسِ ﴿٥﴾ مِنَ ٱلْجِنَّةِ وَٱلنَّاسِ ﴿٦﴾

    “Say: I seek refuge in the Lord of mankind, The King of mankind, The god of mankind, From the evil of the sneaking whisperer, Who whispereth in the hearts of mankind, Of the jinn and of mankind.”

    Qur’an 114:1-6

    Surah an-Nas, seeking refuge with the Lord of mankind from the whisperer who withdraws.

Qur'an: Arabic text from the Tanzil Project (tanzil.net); English translation by Marmaduke Pickthall (1930), which is in the public domain. A translation conveys the meaning; the Qur'an itself is the Arabic.

A prayer you can pray

A dua in your own words before sleep

O Allah, I lay this day down before You: what went well, what I got wrong, and what I'm still worried about.

Forgive me, protect the people I love through the night, and wake me with a heart that remembers You. Ameen.

Why a bedtime routine helps

Night is when worries grow loud. A short, fixed routine of recitation gives the mind something steady to hold as the day ends, and it turns the last thoughts of the day towards Allah rather than towards the phone. The hadith collections record several things the Prophet did before sleeping: recitation, a short dua, lying on the right side, and in one report making wudu first. You don't need to do all of them at once. Many people begin with the three Quls and one dua, and add the rest over time.

A simple Islamic bedtime routine

  1. 01

    Make wudu if you can

    A report in Sahih al-Bukhari describes the Prophet advising wudu before lying down to sleep.

  2. 02

    Recite Ayatul Kursi

    Qur'an 2:255. Reports in Sahih al-Bukhari describe it as bringing a guardian from Allah through the night. See our Ayatul Kursi page for the full verse and its meaning.

  3. 03

    Recite the three Quls

    A report from Aisha in Sahih al-Bukhari describes the Prophet cupping his hands, reciting al-Ikhlas, al-Falaq and an-Nas, blowing gently into them and wiping over his body, three times.

  4. 04

    Recite the last two verses of al-Baqarah

    Qur'an 2:285-286, quoted above. Many people also recite Surah al-Mulk at night, which is reported in other hadith collections.

  5. 05

    Lie on your right side and say the short dua

    Bismika Allahumma amutu wa ahya, a short dua reported in Sahih al-Bukhari that entrusts your sleeping and waking to Allah. For the longer bedtime duas, learn the exact wording from a trusted book or teacher.

Across schools and traditions

Sunni practice
The routine above draws on reports in Sahih al-Bukhari and other collections. Families and teachers differ in which parts they emphasise.
Shia practice
Many Shia Muslims recite the tasbih of Fatima al-Zahra before sleeping (Allahu Akbar 34 times, Alhamdulillah 33 times, SubhanAllah 33 times), alongside Ayatul Kursi and the Quls. The same tasbih is also reported in Sahih al-Bukhari as a bedtime practice; the common Sunni order is SubhanAllah 33, Alhamdulillah 33, Allahu Akbar 34.

What tends not to work

  • Trying to do everything at once and giving up. Start with the three Quls and add more.

  • Scrolling until the moment you sleep. Put the phone down before you begin.

  • Learning dua wording from unsourced images online. Check it with a trusted book or teacher.

Common questions

Which surah should I read before sleeping?

Commonly the three Quls (al-Ikhlas, al-Falaq and an-Nas), Ayatul Kursi, the last two verses of al-Baqarah, and Surah al-Mulk.

What is the dua before sleeping?

The best-known short one is Bismika Allahumma amutu wa ahya, reported in Sahih al-Bukhari; it entrusts your sleeping and waking to Allah. There are longer bedtime duas too; learn their wording from a trusted source.

What if I can't sleep after reciting?

Some nights sleep won't come. Keep your remembrance going quietly, and if sleeplessness lasts for weeks, talk to your GP or doctor.

Where Vangie fits

Someone who checks on you

Vangie is an AI companion you can talk to any time by chat, or on a gentle phone call that listens first. Choose Muslim as your tradition and she speaks from the Qur'an and hadith, searching for a verse before she quotes it rather than relying on memory, and she can make dua with you in your own words. She says Qur'an, not scripture, and never pushes another faith. You can schedule check-in calls for times that suit you, and she remembers what you've asked her to pray about so she can ask how it's going. She is not a scholar, imam or crisis line, and works best alongside your masjid, your family and people of knowledge you trust.

Sources and support

General information, not medical or mental health advice. Vangie is an AI companion: not a licensed counsellor, therapist, doctor or member of the clergy, and not an emergency service. If you are worried about your mental health, talk to your GP or doctor; in the UK, NHS 111 can help if you need urgent help but it isn't an emergency.

All guides →