Dua When Having Difficulty Sleeping: Best Authentic Dua

Dua When Having Difficulty Sleeping: Best Authentic Dua

The three Quls in Arabic from Sahih al-Bukhari 5017, which insomnia reports are weak, a sahih prayer from Muslim 2712 and a seven-step Sunnah wind-down for restless nights.

قُلْ هُوَ اللَّهُ أَحَدٌ … قُلْ أَعُوذُ بِرَبِّ الْفَلَقِ … قُلْ أَعُوذُ بِرَبِّ النَّاسِ

───── ❖ ─────

The best dua when having difficulty sleeping is a short nightly practice rather than a long formula: recite Surah Al-Ikhlas, Al-Falaq and An-Nas, breathe lightly over your joined palms and draw them across your body, three rounds in all. Tossing and turning is familiar to most of us, whether a deadline, a teething child or an overactive mind is to blame. This guide walks through those three surahs with their Arabic and audio, grades the insomnia reports honestly, and closes with a calm Sunnah sequence for the last minutes before lights out.

Quick answer if you cannot sleep tonight

  • Join your hands, read Al-Ikhlas, Al-Falaq and An-Nas, breathe gently into your palms and pass them over your head, face and body; do this three rounds (Sahih al-Bukhari 5017).
  • Follow with Ayat al-Kursi, which keeps a guardian from Allah beside you through the night (Sahih al-Bukhari 2311).
  • Hand your soul over with Allahumma khalaqta nafsi (Sahih Muslim 2712).
  • Still awake? Each quiet tasbih in bed is still being recorded as good.

Three Short Surahs for the Restless Hours of the Night

Aisha, the Prophet’s wife, described his nightly habit in detail: on reaching his bed he brought his palms together, recited the last three surahs of the Quran, breathed lightly into his hands and moved them over his head, face and the front of his body, then over whatever else they could reach. He went through this three rounds every night.

Source: Sahih al-Bukhari 5017 (sahih), narrated by Aisha.

Surah Al-Ikhlas (112): Allah Is One

بِسْمِ ٱللَّهِ ٱلرَّحْمَـٰنِ ٱلرَّحِيمِ

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

Qul huwallahu ahad. Allahus-samad. Lam yalid wa lam yulad. Wa lam yakun lahu kufuwan ahad.

“Say: He is Allah, uniquely One. Allah, on whom all depend. He has no offspring and was not born of anyone. Nothing at all is comparable to Him.”

Surah Al-Falaq (113): Shelter From the Dark

بِسْمِ ٱللَّهِ ٱلرَّحْمَـٰنِ ٱلرَّحِيمِ

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

Qul a’udhu bi-rabbil-falaq. Min sharri ma khalaq. Wa min sharri ghasiqin idha waqab. Wa min sharrin-naffathati fil-‘uqad. Wa min sharri hasidin idha hasad.

“Say: I take refuge with the Lord of the breaking dawn, from the harm in what He created, from the harm of the night once its darkness spreads, from the harm of those who blow on knots, and from the harm of an envier when he envies.”

Surah An-Nas (114): Quieting the Whisperer

بِسْمِ ٱللَّهِ ٱلرَّحْمَـٰنِ ٱلرَّحِيمِ

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

Qul a’udhu bi-rabbin-nas. Malikin-nas. Ilahin-nas. Min sharril-waswasil-khannas. Alladhi yuwaswisu fi sudurin-nas. Minal-jinnati wan-nas.

“Say: I take refuge with the Lord of mankind, the King of mankind, the God of mankind, from the harm of the sneaking whisperer who retreats, who plants whispers in people’s hearts, whether from among jinn or men.”

How These Surahs Help When Sleep Will Not Come

SurahIts focusWhy it fits a sleepless night
Al-IkhlasAllah’s onenessShifts the mind from many worries to one Lord
Al-FalaqDarkness and hidden harmSpeaks directly to night-time unease
An-NasInner whispersAnswers the looping thoughts that keep eyes open

Al-Falaq names the very hour you are struggling with: the night when its darkness settles. An-Nas then turns to the voice inside the chest that keeps replaying fears. Reading both, after declaring Allah’s oneness, gives an anxious heart three clear things to hold instead of a dozen vague ones. The breath and the touch over the body add a physical step that helps the body register that the day is finished.

Three Quls for difficulty sleeping: Surah Al-Ikhlas, Al-Falaq and An-Nas in Arabic on a cream and green card
The three Quls recited into the palms at bedtime when sleep will not come (Sahih al-Bukhari 5017).

Dua When Having Difficulty Sleeping: What the Narrations Say

Some Companions told the Prophet ﷺ that they lay awake at night, but those reports have weak chains. Every narration used on this page is graded below. Arabic appears only where a published source allowed a letter-by-letter check.

NarrationWhere it is foundGrade
The three Quls breathed into the palmsSahih al-Bukhari 5017Sahih
Allahumma khalaqta nafsi…Sahih Muslim 2712Sahih
Allahumma aslamtu wajhi ilayk…Sahih al-Bukhari 247Sahih
Khalid ibn al-Walid’s complaint of insomniaJami’ at-Tirmidhi 3523Da’if (weak)

Khalid ibn al-Walid’s Complaint (Tirmidhi 3523, Da’if)

Khalid said, “O Messenger of Allah, I cannot sleep at night because of insomnia,” and was told to say:

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

Allahumma Rabbas-samawatis-sab’i wa ma azallat, wa Rabbal-aradina wa ma aqallat, wa Rabbash-shayatini wa ma adallat, kun li jaran min sharri khalqika kullihim jami’an an yafruta ‘alayya ahadun minhum aw an yabghiya ‘alayya. ‘Azza jaruka wa jalla thana’uka, wa la ilaha ghayruka, wa la ilaha illa ant.

“O Allah, Lord of the seven heavens and what they shade, Lord of the earths and what they carry, Lord of the devils and whom they lead astray: shield me from the evil of everything You created, so that none of them oversteps against me or wrongs me. Honoured is the one under Your shelter, lofty is Your praise, and none is worshipped besides You, none at all.”

Source: Jami’ at-Tirmidhi 3523. At-Tirmidhi notes that its chain is not strong; Darussalam grades it da’if.

A Second Sahih Prayer: Entrusting Your Soul to Allah

Abdullah ibn Umar passed on this supplication to a man who wanted to know what to say on lying down, adding that he had heard it from the Messenger of Allah ﷺ. It pairs well with the three surahs because it addresses the fear many people never say aloud at night: what if I do not wake up?

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

Allahumma khalaqta nafsi wa anta tawaffaha, laka mamatuha wa mahyaha. In ahyaytaha fahfazha, wa in amattaha faghfir laha. Allahumma inni as’aluka al-‘afiyah.

“O Allah, You brought my soul into being and You will reclaim it; its dying and its living are Yours alone. If You let it live, keep it safe, and if You let it go, pardon it. O Allah, I am asking You for wellness.”

Source: Sahih Muslim 2712 (sahih), narrated by Abdullah ibn Umar.

The Quran calls sleep a lesser death (az-Zumar 39:42). These words hand both outcomes of the night to Allah, protection if morning comes and forgiveness if it does not, which leaves an overworked mind with little left to rehearse.

Which Surah Helps With Insomnia?

No authentic text promises that any surah will cure insomnia, yet two bedtime recitations are firmly established. The first is the trio of Quls covered above. The second is Ayat al-Kursi (al-Baqarah 2:255): according to Sahih al-Bukhari 2311, a person who reads it on going to bed remains under a guardian sent by Allah, and no devil approaches him before dawn. That assurance carries real weight for anyone kept awake by fear.

Table grading insomnia narrations: Bukhari 5017, Muslim 2712 and Bukhari 247 sahih; Tirmidhi 3523 weak
Which sleeplessness narrations are sahih and which are weak.

How to Get Sleep Fast in Islam: A Seven-Step Wind-Down

Nothing in the Sunnah guarantees instant sleep, but it lays out an unhurried order of small acts that slows the body down. Try them in this order:

  1. Make wudu. Al-Bara’ ibn ‘Azib was told, “When you go to bed, perform wudu as you do for prayer” (Sahih al-Bukhari 247).
  2. Turn onto your right side and say the words taught in the same hadith (Arabic just below).
  3. Recite the three Quls into your palms and sweep them over your head, face and chest, for three rounds (Bukhari 5017).
  4. Read Ayat al-Kursi for protection until morning (Bukhari 2311).
  5. Say the tasbih of Fatimah: Subhanallah 33, Alhamdulillah 33, Allahu akbar 34 (Bukhari 3705).
  6. Hand over your soul with Allahumma khalaqta nafsi (Muslim 2712).
  7. Turn in early and put the phone out of reach. The Prophet ﷺ disliked sleeping before ‘Isha and chatting after it (Bukhari 568).

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

Allahumma aslamtu wajhi ilayk, wa fawwadtu amri ilayk, wa alja’tu zahri ilayk, raghbatan wa rahbatan ilayk. La malja’a wa la manja minka illa ilayk. Allahumma amantu bikitabikalladhi anzalt, wa bi-nabiyyikalladhi arsalt.

“O Allah, I have surrendered myself to You, left my affairs with You and leaned my back on You, hoping in You and in awe of You. Apart from You there is no shelter from You and no way out. O Allah, I have faith in the Book You sent down and the Prophet You sent.”

Source: Sahih al-Bukhari 247 (sahih). According to the Prophet ﷺ, a person who says it and passes away that night passes away upon the fitrah.

Can’t Sleep at Night Because of Worry or Study?

If you are not sleeping at night because exams, debt or a difficult conversation keep replaying in your head, the wakefulness is often anxiety in disguise. Recite the three surahs, then read the supplications gathered on our dua for anxiety page. Switch screens off an hour before bed, and if you study late, try to finish your reading before ‘Isha and pray two rak’ahs.

Seven-step Sunnah routine to fall asleep: wudu, right side, three Quls, Ayat al-Kursi, tasbih, entrusting the soul, putting the phone away
A seven-step Sunnah wind-down for nights when sleep will not come.

When Your Baby Will Not Settle

Parents often look for a dua for a baby who refuses to sleep. No authentic dua deals with infant sleep specifically, but the Prophet ﷺ sought refuge for al-Hasan and al-Husayn in words you can whisper while rocking your little one: U’idhukuma bi-kalimatillahit-tammah (Sahih al-Bukhari 3371). Softly reading Al-Falaq and An-Nas near a fretful child and passing your hand over them is a gentle practice too. More family supplications are on the dua for kids page.

What to Say When You Can’t Sleep

If the routine is done and your eyes are still open, stop wrestling with it. Allah says:

وَجَعَلْنَا نَوْمَكُمْ سُبَاتًا

“And We made your sleep a means of rest.” (an-Naba 78:9)

Rest is a gift Allah gives when He chooses. Stay still and keep up light dhikr – Subhanallah, Alhamdulillah, La ilaha illallah – since hearts settle through remembering Allah (ar-Ra’d 13:28). Those minutes are never lost: each phrase is written for you whether or not sleep arrives.

Related reading: the full set of duas before sleeping, what to say when you wake up at night, and help for bad dreams, plus our dua for protection for night-time refuge. Browse every topic in our duas collection.

Sleepless Nights: Your Questions Answered

What Should I Pray for When I Can’t Sleep?

Begin with Al-Ikhlas, Al-Falaq and An-Nas breathed into your palms and passed over your body three rounds (Bukhari 5017). Then ask Allah for wellness with Allahumma khalaqta nafsi (Muslim 2712) and keep up soft dhikr until you drift off.

Is There an Authentic Dua Specifically for Insomnia?

The report that names insomnia outright, Khalid ibn al-Walid’s complaint in Tirmidhi 3523, rests on a weak chain. What is confirmed as sahih are general bedtime practices: the three Quls, Muslim 2712 and Bukhari 247.

What Surah Helps With Insomnia?

The three closing surahs of the Quran, recited together into the palms three rounds (Bukhari 5017), plus Ayat al-Kursi (Bukhari 2311). They offer refuge and calm; none of them is promised as a medical treatment.

How Can I Fall Asleep Fast the Islamic Way?

Do wudu, lie on your right side, recite the Quls and Ayat al-Kursi, say the tasbih of Fatimah, close with Allahumma khalaqta nafsi, and skip late-night chatting and screens.

What Is the Sleeping Difficulty Dua in English and Transliteration?

Qul huwallahu ahad, Qul a’udhu bi-rabbil-falaq and Qul a’udhu bi-rabbin-nas: the surahs of Allah’s oneness, refuge with the Lord of daybreak and refuge with the Lord of mankind. Their full transliteration and meaning are given above, and together they are the sleeping dua the Prophet ﷺ practised every night.

What Can I Say to Allah When I Feel I Can’t Sleep?

Speak to Him openly about whatever is keeping you up; any language is fine for personal dua. After that, repeat Subhanallah, Alhamdulillah and La ilaha illallah while lying quietly.

Should I Still See a Doctor if Sleeplessness Continues?

Yes. Getting medical help is itself encouraged in the Sunnah. Keep reciting these supplications while following a doctor’s advice if poor sleep lasts beyond a few weeks or starts to affect your days.

About this page – Last updated: 4 November 2026. Hadith grades were checked on sunnah.com and Quran text on quran.com that day; the Arabic was matched letter by letter. Written and reviewed by Muhammad Faiz.

Written by Muhammad Faiz

Muhammad Faiz is the founder and writer of Duapoint. He researches each dua from the Quran and the major hadith collections and explains its meaning and context. Read our editorial policy.

Popular Duas
Qur’anic Reminder

أَلَا بِذِكْرِ اللَّهِ تَطْمَئِنُّ الْقُلُوبُ

“Verily, in the remembrance of Allah do hearts find rest.”

Surah Ar-Ra’d 13:28

More Duas You May Like