Can't Sleep? What the Quran and Sunnah Say About Insomnia
You're lying in bed, the clock on your phone glows 3 AM. You've counted sheep, mentally replayed your day, maybe even scrolled mindlessly until your eyes burned. Nothing. Just that gnawing feeling of being awake when the rest of the world, and more importantly, when you should be resting.
It's frustrating, right? You've got work in a few hours, kids to get ready, prayers to make. Sleep feels like a luxury you can't afford to miss, yet it’s slipping through your fingers.
When these sleepless nights hit, and they hit most of us from time to time, where do we turn? Beyond the usual advice of "avoid caffeine" or "dim the lights," what does our faith offer? What are the actual islamic remedies for insomnia?
Finding Peace in the Night
The Prophet Muhammad (peace be upon him) himself experienced times when sleep didn't come easily. There's a beautiful narration where he said:
Arabic: " إذا عرق أحدكم من الليل وهو يصلي فليخفف " .
Translation: "If any of you feels sweaty while praying at night, he should lighten his prayer."
Transliteration: Idha 'araqa ahadukum min al-layli wa huwa yusalli falyukhffif.
— Sahih Muslim 747
Now, this hadith is about praying at night. But think about the underlying principle. He (PBUH) acknowledged that a person might feel discomfort or a change in their state during the night. He didn't say "you must feel perfectly rested." He offered a practical adjustment.
This brings me to the first, and perhaps most important, remedy: acceptance and turning to Allah.
When you can't sleep, it's easy to get anxious, angry even. That anxiety becomes a vicious cycle. The more you worry about not sleeping, the harder it is to fall asleep. This is where the teachings of our faith can be a true balm.
Consider the words of Allah:
Arabic: اللَّهُ يَتَوَفَّى الْأَنْفُسَ حِينَ مَوْتِهَا وَالَّتِي لَمْ تَمُتْ فِي مَنَامِهَا فَيُمْسِكُ الَّتِي قَضَى عَلَيْهَا الْمَوْتَ وَيُرْسِلُ الْأُخْرَى إِلَىٰ أَجَلٍ مُّسَمًّى ۚ إِنَّ فِي ذَٰلِكَ لَآيَاتٍ لِّقَوْمٍ يَتَفَكَّرُونَ
Translation: "Allah takes the souls at the time of their death, and those that have not yet died during their sleep. He retains those for whom He has decreed death and releases the others for a specified term. Indeed, in that are signs for a people who reflect."
Transliteration: Allahu yatawaffa al-anfusa hina mawtihā wa-allati lam tamut fī manāmihā fayum’siku allati qadā ‘alayhā al-mawta wa-yursilu al-ukhrā ilā ajalin musammā. Inna fī dhālika la-āyātin li-qawmin yatafakkarūn.
— Surah Az-Zumar 39:42
This ayah reminds us that our life and our rest are ultimately in Allah's control. Our ability to sleep isn't just a biological function; it's a gift from Him. When that gift feels withheld, the first step isn't frustration, but recognition of His decree. This doesn't mean passively suffering; it means finding peace in His plan.
Duas and Adhkar for Rest
There are specific supplications (duas) and remembrance of Allah (adhkar) taught to us by the Prophet (peace be upon him) that are perfect for those moments you're lying awake.
One of the most comprehensive hadith regarding what to say before sleeping is from Al-Bukhari:
Arabic: «إِذَا أَتَى النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الْمَضْجَعَ كُلَّ لَيْلَةٍ جَمَعَ كَفَّيْهِ ثُمَّ نَفَثَ فِيهِمَا فَقَرَأَ فِيهِمَا ( قُلْ هُوَ اللَّهُ أَحَدٌ ) وَ(قُلْ أَعُوذُ بِرَبِّ الْفَلَقِ ) وَ(قُلْ أَعُوذُ بِرَبِّ النَّاسِ ) ثُمَّ مَسَحَ بِهِمَا مَا اسْتَطَاعَ مِنْ جَسَدِهِ، بَدَأَ بِهِمَا عَلَى رَأْسِهِ وَوَجْهِهِ وَمَا أَقْبَلَ مِنْ جَسَدِهِ، يَفْعَلُ ذَلِكَ ثَلَاثَ مَرَّاتٍ»
Translation: "When the Prophet (peace be upon him) went to bed every night, he used to hold his hands together and then blow into them, saying: '(Recite Surah Al-Ikhlas, Surah Al-Falaq and Surah An-Nas).' Then he would rub his hands over whatever parts of his body he was able to, starting with his head and face and the front of his body. He used to do this three times."
Transliteration: Idhā atā an-Nabiyyu ṣallā Allāhu ʿalayhi wa-sallama al-maḍjaʿa kulla laylatin jamaʿa kaffayhi thumma nafatha fīhimā faqara’a fīhimā (Qul huwa Allahu ahad) wa (Qul a'udhu birabbil falaq) wa (Qul a'udhu birabbin nas) thumma masaha bihima mā istaṭāʿa min jasadihi, bada’a bihimā ‘alā ra’sihi wa-wajhihi wa mā aqbala min jasadihi, yaf'alu dhālika thalatha marrāt.
— Sahih al-Bukhari 5017
Reciting these three Surahs together, blowing into your hands, and then wiping over yourself is a powerful Sunnah. If you're awake in the night, you can still do this. It's not just about reciting; it's about the intention behind it – seeking Allah's protection.
Another incredibly comforting dua when you're restless:
Arabic: «اللَّهُمَّ رَبَّ السَّمَاوَاتِ السَّبْعِ، وَرَبَّ الْعَرْشِ الْعَظِيمِ، رَبَّنَا وَرَبَّ كُلِّ شَيْءٍ، فَالِقَ الْحَبِّ وَالنَّوَى، وَمُنْزِلَ التَّوْرَاةِ وَالْإِنْجِيلِ وَالْفُرْقَانِ، أَعُوذُ بِكَ مِنْ شَرِّ كُلِّ شَيْءٍ أَنْتَ آخِذٌ بِنَاصِيَتِهِ، اللَّهُمَّ أَنْتَ الْأَوَّلُ فَلَيْسَ قَبْلَكَ شَيْءٌ، وَأَنْتَ الْآخِرُ فَلَيْسَ بَعْدَكَ شَيْءٌ، وَأَنْتَ الظَّاهِرُ فَلَيْسَ فَوْقَكَ شَيْءٌ، وَأَنْتَ الْبَاطِنُ فَلَيْسَ دُونَكَ شَيْءٌ، اقْضِ عَنَّا دَيْنَناَ وَأَغْنِنَا مِنْ فَقْرٍ»
Translation: "O Allah, Lord of the seven heavens and Lord of the Great Throne, our Lord and Lord of everything. The One who causes the grain and the date-stone to split and sprout. The One who revealed the Torah, the Gospel, and the Quran. I seek refuge in You from the evil of everything You are holding by its forelock. O Allah, You are the First, and nothing is before You. You are the Last, and nothing is after You. You are the Apparent, and nothing is above You. You are the Hidden, and nothing is nearer than You. Relieve us of our debt and enrich us from poverty."
Transliteration: Allahumma Rabba as-samawati as-sab'i, wa Rabba al-'Arsh al-'Adhim, Rabbana wa Rabba kulli shay', Faliq al-habbi wa-n-nawa, wa Munzil at-Tawrati wa-l-Injili wa-l-Furqan. A'udhu bika min sharri kulli shay'in anta akhidhun binasiyatihi. Allahumma Anta al-Awwalu fa-laysa qablaka shay'un, wa Anta al-Akhiru fa-laysa ba'daka shay'un, wa Anta adh-Dhahiru fa-laysa fawqaka shay'un, wa Anta al-Batinu fa-laysa dunaka shay'un, iqdhi 'anna daynana wa aghnina min faqr.
— Sahih Muslim 2713
This is a comprehensive dua seeking refuge in Allah's attributes. If you're awake, you can recite this, reflecting on each of Allah's names and descriptions. It shifts your focus from your sleeplessness to the One who controls sleep and everything else.
Don't underestimate the power of simply remembering Allah (dhikr) when you can't sleep. Repeating "SubhanAllah," "Alhamdulillah," "La ilaha illa Allah," or "Allahu Akbar" quietly can calm your mind. It's about occupying your heart and tongue with the remembrance of your Creator.
Practical Steps Based on the Sunnah
Beyond specific duas, the Sunnah offers practical ways to deal with sleeplessness:
-
Don't force it: If you've been trying to sleep for a while and can't, get up. The Prophet (peace be upon him) said:
Arabic: «لاَ يَرْتَبِطُ أَحَدُكُمْ عَيْنَيْهِ وَهُوَ يَنْتَظِرُ الْقَوْمَ»
Translation: "None of you should sleep before the night prayer or have your eyes closed while waiting for it."
Transliteration: La yartabitu ahadukum 'aynayhi wa huwa yantaziru al-qawm.
— Sahih Muslim 750
While this is about waiting for Isha, the principle applies. If you're restless, forcing yourself to stay in bed can increase frustration. Get up, move to another room, perhaps pray two rak'ahs, or read some Quran. Then, try to sleep again when you feel drowsy.
2. Reflect on Allah's creation: The Quran encourages reflection. When you're awake at night, look at the stars (if you can), ponder the vastness of the sky, the stillness. It can put your own worries into perspective and remind you of Allah's power and mercy.
-
Make up for missed rest later (if possible): If you've had a rough night, and your schedule allows, taking a short nap during the day (qailulah) is highly recommended in the Sunnah. It can help compensate for lost sleep.
-
Address underlying worries: Sometimes, insomnia is a symptom of deeper anxieties. Think about what might be troubling you. Can you make dua about it? Can you take a practical step to resolve it? Sometimes, writing down your worries can help get them out of your head and onto paper.
When you're stuck awake at 3 AM, scrolling through your phone, it's easy to feel disconnected. But these moments can actually be opportunities. An opportunity to turn to Allah, to strengthen your connection with Him, and to find peace not just in sleep, but in His remembrance.
Key Takeaway
Instead of letting sleeplessness fuel anxiety, see it as a chance to engage in specific duas and adhkar taught by the Sunnah. These aren't just words; they are a way to shift your focus from your struggle to the strength and mercy of Allah, finding tranquility even when rest is elusive.
May Allah grant us restful sleep and allow us to benefit from the times we are awake, remembering Him and seeking His closeness.
Your brother/sister in faith, IslamicReminders.com
Ad Space — in-content
Ad Space — after-content
Related Articles
You Missed Fajr and Woke Up Late: Here Is What You Actually Need to Do
Waking up to see the sun already high is a heavy feeling. But before you spiral into guilt, know that the Prophet (PBUH) gave us a simple, direct path to fix it.
Forgot Entire Day Prayers? Islam's Gentle Way to Get Back on Track
Scrolling, distracted, and then it hits you: you've missed prayers. The guilt can be crushing, but Islam offers a gentle path back. Learn the practical steps to rectify when you've forgotten an entire day's prayers.
When Doubt Creeps In: How to Reaffirm Your Belief in Tawhid
Doubt about Tawhid can feel isolating and unsettling, a whisper against the bedrock of faith. But even prophets sought reassurance. Learn how to actively reaffirm your belief in Allah's Oneness when doubts surface.