Can't Sleep? Islamic Remedies for Insomnia from the Sunnah
بِاسْمِكَ رَبِّ وَضَعْتُ جَنْبِي، وَبِكَ أَرْفَعُهُ، إِنْ أَمْسَكْتَ نَفْسِي فَارْحَمْهَا، وَإِنْ أَرْسَلْتَهَا فَاحْفَظْهَا، بِمَا تَحْفَظُ بِهِ عِبَادَكَ الصَّالِحِينَ
““In Your name, my Lord, I lie down. In Your name, I rise. If You take my soul, then have mercy on it. And if You keep it, then protect it with what You protect Your righteous servants.””
Bismika Rabbi wada'tu janbi, wa bika arfa'uhu. In amsakta nafsi fa-rhamha, wa in arsalta-ha fahfadh-ha, bima tahfadh bihi 'ibadakas-salihin
The red glow of your phone screen is the only light in the room. It’s 3 AM. Your eyes are wide open, your mind racing. You’ve tried counting sheep, you’ve tried that meditation app, but sleep just won’t come. This isn't just a modern problem; restless nights have been around forever. But the good news? Our faith has provided timeless guidance and remedies for when sleep evades us.
It’s easy to feel frustrated, even a little hopeless, when sleep becomes a battle. You know you need rest, but your brain just won’t switch off. Maybe it’s work stress, family worries, or just the everyday anxieties of life that keep you tossing and turning. It feels like you’re all alone in this struggle.
The Power of Remembrance: Adhkar for Sleep
The most profound of Islamic remedies for insomnia lies in the practice of dhikr – the remembrance of Allah. When our minds are too busy with the dunya (this world), bringing them back to our Creator can bring a unique kind of peace.
One of the most beautiful adhkar (plural of dhikr) for before sleep is a simple yet powerful supplication taught by our beloved Prophet Muhammad (peace be upon him). It’s about entrusting yourself to Allah’s protection.
Arabic: بِاسْمِكَ رَبِّ وَضَعْتُ جَنْبِي، وَبِكَ أَرْفَعُهُ، إِنْ أَمْسَكْتَ نَفْسِي فَارْحَمْهَا، وَإِنْ أَرْسَلْتَهَا فَاحْفَظْهَا، بِمَا تَحْفَظُ بِهِ عِبَادَكَ الصَّالِحِينَ
Translation: “In Your name, my Lord, I lie down. In Your name, I rise. If You take my soul, then have mercy on it. And if You keep it, then protect it with what You protect Your righteous servants.”
Transliteration: Bismika Rabbi wada'tu janbi, wa bika arfa'uhu. In amsakta nafsi fa-rhamha, wa in arsalta-ha fahfadh-ha, bima tahfadh bihi 'ibadakas-salihin
— Sahih al-Bukhari 6320
Think about what this really means. You’re not just saying words; you’re acknowledging that your ability to sleep, to wake up, and even to live is entirely dependent on Allah. This surrender, this tawakkul (reliance on Allah), can be incredibly calming. It shifts the burden from your own shoulders to the Almighty.
Other Essential Adhkar Before Sleep
There are several other adhkar and Quranic verses the Prophet (PBUH) used to recite, or recommended for us to recite, that can help ease us into sleep. Making them a routine can retrain your mind to associate these words with rest.
-
Reciting Surah Al-Baqarah: The Prophet (PBUH) said that the house in which Surah Al-Baqarah is recited will not approach Shaytan (Satan) for three nights. While this has broader implications, the sheer presence of Allah’s word can ward off negative thoughts and anxieties that often plague us at night. Even reciting the last two verses before sleep is highly recommended:
Arabic: آمَنَ الرَّسُولُ بِمَا أُنزِلَ إِلَيْهِ مِن رَّبِّهِ وَالْمُؤْمِنُونَ ۚ كُلٌّ آمَنَ بِاللَّهِ وَمَلَائِكَتِهِ وَكُتُبِهِ وَرُسُلِهِ لَا نُفَرِّقُ بَيْنَ أَحَدٍ مِّن رُّسُلِهِ ۚ وَقَالُوا سَمِعْنَا وَأَطَعْنَا ۖ غُفْرَانَكَ رَبَّنَا وَإِلَيْكَ الْمَصِيرُ لَا يُكَلِّفُ اللَّهُ نَفْسًا إِلَّا وُسْعَهَا ۚ لَهَا مَا كَسَبَتْ وَعَلَيْهَا مَا اكْتَسَبَتْ ۗ رَبَّنَا لَا تُؤَاخِذْنَا إِن نَّسِينَا أَوْ أَخْطَأْنَا ۚ رَبَّنَا وَلَا تَحْمِلْ عَلَيْنَا إِصْرًا كَمَا حَمَلْتَهُ عَلَى الَّذِينَ مِن قَبْلِنَا ۚ رَبَّنَا وَلَا تُحَمِّلْنَا مَا لَا طَاقَةَ لَنَا بِهِ ۖ وَاعْفُ عَنَّا وَاغْفِرْ لَنَا وَارْحَمْنَا ۚ أَنتَ مَوْلَانَا فَانصُرْنَا عَلَى الْقَوْمِ الْكَافِرِينَ
Translation: "The Messenger has believed in what was revealed to him from his Lord, and [so have] the believers. All of them believe in Allah, His angels, His books, and His messengers. We make no distinction between any of His messengers. And they say, 'We hear and we obey, [we seek] Your forgiveness, our Lord, and to You is the [final] destination.' Allah does not charge a soul except [with that within] its capacity. It will have [the consequence of] whatever good it has done, and it will bear [the penalty of] whatever evil it has incurred. Our Lord, do not impose blame upon us if we have forgotten or erred. Our Lord, and do not impose a burden across us as You imposed across those before us. Our Lord, and do not burden us with that which we have no ability to bear. And pardon us; and forgive us; and have mercy upon us. You are our protector, so give us victory over the disbelieving people."
Transliteration: Amanar-rasoolu bima unzila ilayhi min Rabbihi wal mu'minooon. Kullun aamana billahi wa malaaikatihi wa Kutubihi wa Rusulih. La nufarriqu bayna ahadin min Rusulih. Wa qaaloo: Sami'na wa ata'naa, ghufraanaka Rabbanaa wa ilaykal maseer. La yukalliful laahu nafsan illa wus'ahaa. Lahaa ma kasabat wa 'alayhaa maktasabat. Rabbanaa laa tu'aakhidhnaa in naseenaa aw akhta'naa. Rabbanaa wa laa tahmil 'alaynaa isran kamaa hamaltahu 'alal-latheena min qablinaa. Rabbanaa wa laa tuhammilnaa maa laa taaqata lanaa bih. Wa'fu 'annaa, waghfir lanaa, war-hamnaa. Anta mawlaanaa fantasurnaa 'alal qawmil kaafireen.
— Surah Al-Baqarah, 2:285-286
-
Blowing into the hands and reciting: The Prophet Muhammad (peace be upon him) would blow into his hands and recite Surah Al-Ikhlas, Surah Al-Falaq, and Surah An-Nas (the last three chapters of the Quran), then wipe over his body as much as he could with them, starting with his head and face, and then repeat this three times. (Sahih al-Bukhari 5017). These chapters are powerful for seeking refuge and protection, which can be a huge relief when trying to fall asleep.
-
Tasbih Fatimah: Saying "SubhanAllah" (Glory be to Allah) 33 times, "Alhamdulillah" (Praise be to Allah) 33 times, and "Allahu Akbar" (Allah is the Greatest) 34 times. The Prophet Muhammad (peace be upon him) taught this to his daughter Fatimah (may Allah be pleased with her) when she asked for a servant. He told her that this tasbih was better for her than a servant. (Sahih al-Bukhari 6318). This rhythmic repetition can be incredibly grounding and helps quiet the mental chatter.
Beyond Adhkar: Practical Sunnah-Based Tips
While adhkar are paramount, the Sunnah also offers practical advice that aligns with creating a conducive environment for sleep.
1. The Prophet’s Sleep Routine
Our Prophet Muhammad (peace be upon him) had a structured approach to his day, and this extended to his sleep. He would avoid unnecessary late-night talk and activity, preferring to sleep early so he could wake for Qiyam (night prayer). If you find yourself scrolling through social media or watching TV late into the night, try consciously setting a cutoff time. Redirect that energy towards remembering Allah or preparing for the next day in a calm way.
2. Making Your Bed
Before lying down, the Prophet (PBUH) would brush his teeth with a miswak. He also taught us to shake out our bed three times before sleeping, as we don’t know what might have settled on it while we were away. (Sahih al-Bukhari 6320). This simple act of cleaning and preparation can be a gentle transition into rest.
3. Going to the Masjid for Isha
Attending Isha prayer in the mosque was a regular practice for the Prophet (PBUH). He disliked staying up late after Isha and sleeping before it. This suggests that completing our evening prayers on time and not delaying them unnecessarily can help align our sleep schedule with the natural rhythms of the day and night that Allah has set.
4. Addressing Worry and Anxiety
When worries weigh heavily on your mind, the Prophet Muhammad (peace be upon him) taught us to say:
Arabic: اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْهَمِّ وَالْحَزَنِ، وَالْعَجْزِ وَالْكَسَلِ، وَالْجُبْنِ وَالْبُخْلِ، وَضَلَعِ الدَّيْنِ وَغَلَبَةِ الرِّجَالِ
Translation: “O Allah, I seek refuge in You from anxiety and sorrow, from weakness and laziness, from cowardice and stinginess, from the burden of debt and from being overcome by men.”
Transliteration: Allahumma inni a'udhu bika minal-hammi wal-hazani, wal-'ajzi wal-kasali, wal-jubni wal-bukhli, wa dala'id-dayni wa ghalabatir-rijal
— Sahih al-Bukhari 6369
This comprehensive supplication covers many common sources of sleeplessness. Invoking Allah’s protection against these specific ailments can bring immense psychological relief. It's a way of saying, "I can't handle this alone, O Allah."
When Sleep Still Doesn't Come
It's crucial to remember that even with sincere effort, sometimes sleep remains elusive. This can be a test from Allah. It’s during these times that patience (sabr) becomes our ally. Instead of becoming more agitated, try to use the time for reflection or reading Quran. Perhaps your body is truly exhausted, but your mind is active. Use this quiet time to connect with Allah. Remember the verse:
Arabic: وَلَنَبْلُوَنَّكُم بِشَيْءٍ مِّنَ الْخَوْفِ وَالْجُوعِ وَنَقْصٍ مِّنَ الْأَمْوَالِ وَالْأَنفُسِ وَالثَّمَرَاتِ ۗ وَبَشِّرِ الصَّابِرِينَ
Translation: "And We will surely test you with something of fear and hunger and a loss of wealth and lives and fruits, but give good tidings to the patient."
Transliteration: Wa lanabluwannakum bishay'im min al-khawfi wal-ju'i wa naqsim minal-amwaali wal-anfusi wath-thamaroot. Wa bashshir is-saabireen.
— Surah Al-Baqarah, 2:155
When you feel frustrated, remind yourself that this is a test, and Allah promises reward for those who are patient. This perspective shift can be a powerful tool.
Key Takeaway
Sleep difficulties are often rooted in an overactive mind and anxieties. The most profound of Islamic remedies for insomnia is to consciously redirect your focus from worldly worries to the remembrance of Allah. Integrating the adhkar and practices taught by the Prophet Muhammad (peace be upon him) into your nightly routine offers a spiritual anchor and a pathway to peace.
As you lie down tonight, instead of fixating on the inability to sleep, try focusing on the beautiful adhkar taught to us. Let the words of protection and reliance flow. Trust that Allah is in control, and His remembrance brings tranquility.
May Allah grant us restful sleep and protect us from all harm, seen and unseen. May He make our nights a source of peace and rejuvenation, and our days a means of drawing closer to Him.
Ad Space — in-content
Ad Space — after-content
Related Articles
When Your Muslim Partner Doesn't Want Children: Navigating the Disagreement
Discovering that your spouse does not want children can feel like your entire future is collapsing. Before making any drastic decisions, here is how to approach this sensitive topic with Islamic wisdom and emotional maturity.
My Teenager is Secretly Dating: Islamic Guidance on Navigating Teenage Relationships
Your teenager's phone location shows them at a park late at night, not at a friend's. The realization of secret dating hits hard. How do you navigate this delicate situation as a Muslim parent?
Feeling Invisible? How to Reclaim Your Worth When Your Efforts Go Unnoticed (Islamic Perspective)
It's that quiet ache when your efforts go unnoticed. You've poured your heart into something, expecting a nod, a word of appreciation, but there's just silence. It’s the feeling of being invisible, your contributions dissolving into thin air. But what if the true validation comes not from people, but from the One who sees everything?