You know the hour I mean. The house is quiet, the lights are off, and your body is finally horizontal. Your mind picks that moment to open every file it has. The email you didn't answer. The thing you said at dinner in 2019. Next month's money. Nothing has changed in your life since 6 p.m., but now you are wide awake, and it feels personal.
—2026-11-24 · 7 min read · 21 of 132
Islamic Bedtime Routine: The Sunnah Way to Sleep, and Why the Last Ten Minutes of Your Day Matter
An Islamic bedtime routine from the Sunnah: the Ayat al-Kursi, the three Quls, and the dua before sleep, plus why a short, repeated wind-down quiets a racing mind.
Most of us treat sleep as something that either happens to us or doesn't. The Prophet ﷺ treated it as the end of a small, deliberate ritual. That ritual has a shape. It is short and repeatable, and it was clearly designed for a person lying in the dark with an unfinished day.
What the Prophet ﷺ actually did before sleeping
The hadith literature records the Prophet's bedtime in unusual detail. The pieces below are well documented.
He wiped over his body after reciting the last three surahs. Aisha (may Allah be pleased with her) reported in Sahih al-Bukhari that each night, when he went to bed, he would cup his hands together, blow lightly into them, and recite Surah al-Ikhlas, al-Falaq and an-Nas. Then he would wipe his hands over as much of his body as he could reach, starting with his head, his face and the front of his body. He did this three times.
He recited Ayat al-Kursi. In a narration in Sahih al-Bukhari, Abu Hurairah describes being told that whoever recites Ayat al-Kursi on going to bed will have a protector from Allah over them through the night.
He recited the last two verses of Surah al-Baqarah. The Prophet ﷺ said that whoever recites them at night, "they will suffice him" (Bukhari and Muslim). Scholars have explained "suffice" in several ways, including protection and sufficiency for the night's worship. The narration doesn't pin down one meaning.
He ended with a short dua. Hudhayfah (may Allah be pleased with him) reported that when the Prophet ﷺ lay down, he would place his hand under his cheek and say: "Bismika Allahumma amutu wa ahya" ("In Your name, O Allah, I die and I live"). On waking he would say: "Alhamdu lillahil-ladhi ahyana ba'da ma amatana wa ilayhin-nushur" (Bukhari).
There are further etiquettes in the collections. These include dusting the bed before lying down, lying on the right side, and being in a state of wudu. Several scholars grade the narrations behind the exact details differently, so it is worth checking a reliable source before you treat each one as a firm requirement. The core sequence above, though, is firmly established.
The line people skip: no talking after Isha
One more hadith is easy to overlook. Abu Barzah (may Allah be pleased with him) reported that the Prophet ﷺ disliked sleeping before the Isha prayer and talking after it (Bukhari).
The scholars give practical reasons. Sleeping before Isha risks missing it. Late-night chatter risks missing Fajr. There is also a quieter reading, and it is a modern one. After the last prayer, the day is supposed to close. Nothing new should be opened.
The exceptions matter too. Hadith reports show the Prophet ﷺ talking with guests after Isha, and discussing the affairs of the Muslims with Abu Bakr. The dislike is aimed at idle talk that pushes sleep later and later. Needed conversation is not the target.
Why a short, repeated ritual works on a racing mind
Sleep researchers have a name for the 2 a.m. problem. They call it pre-sleep cognitive arousal, meaning a mind that stays active and worried while the body tries to power down. Work on insomnia, including Allison Harvey's cognitive model, has repeatedly pointed at this. It is less that we can't sleep and more that our thinking never receives the signal that it is allowed to stop.
Two ordinary mechanisms help here.
Cues become conditioned. If you do the same few things in the same order each night, your brain starts to read them as the beginning of sleep. The sequence is the signal. A wind-down that is identical on Tuesday and Saturday works precisely because it asks nothing of you. You don't decide anything.
Transferring a worry works better than fighting it. In a 2018 experiment by Michael Scullin and colleagues, people who spent five minutes writing a to-do list for the coming days fell asleep faster than people who wrote about what they had already finished. Parking tomorrow on paper seemed to loosen its grip on tonight. Evening dua does something related in a different register. Saying "In Your name I die and I live" is a deliberate act of handing over control, and many people find the handover easier to rehearse when it is out loud and finite.
The Prophetic routine also keeps the body busy in a small, calming way. Blowing into cupped hands, wiping slowly from head to feet and lying on your side give your attention something physical to do. They give a restless mind a gentle task instead of an empty room.
None of this makes the sunnah "a sleep hack." The intention is worship and trust in Allah, and the benefits we can measure are a kind of mercy that comes with it. It does help to know the practice is not working against how your brain functions.
What the routine teaches without saying it
Look at the words themselves. You recite the last three surahs, which are about seeking refuge. You recite Ayat al-Kursi, which is about a God who neither slumbers nor sleeps. Then you say "I die and I live." Every part of the sequence says the same thing: I am not holding the night together. Someone else is.
That may be the real reason the ritual quiets people. Insomnia is often an unspoken belief that if you stop thinking, something will fall apart. The sunnah gives you a way to put that belief down on purpose.
Your next moves
You don't need to adopt everything tonight. Start small enough that you will still be doing it in three weeks.
- Pick a fixed "closing time." Choose a time after Isha when screens go down and new conversations stop. Set a gentle alarm for it, not for bedtime. Aim for the same time within about half an hour each night.
- Learn the three Quls and Ayat al-Kursi by heart if you haven't yet. Do one this week and one next week. Keep a card on your nightstand until you don't need it.
- Do the full sequence once, slowly, tonight. Cup your hands, blow lightly, recite the three Quls, then wipe from head to face to body. Repeat three times. Time it. It takes about a minute, which means the effort is not the obstacle.
- Write tomorrow's worries on paper before wudu. Spend five minutes on a list of what must be done tomorrow, in your own words. Then close the notebook and leave it outside the bedroom.
- End with the short dua, then stop thinking. Say it with your hand under your cheek, on your right side. If a thought arrives, repeat the dua instead of arguing with the thought.
If you miss a night, that is fine. Resume the next night without a speech about it.
A last thought on closing the day
A prayer-times app can't make you sleep, and Athan doesn't pretend to. What it does do is keep the day's edges honest. Isha is the last fixed point in your evening, and a clear Isha time makes it easier to place the closing time, the Quls and the dua right after it. When the final prayer of the day has a time you trust, the ten minutes after it have an anchor, and the routine has somewhere to begin. Athan shows your daily prayer times and Qibla, with no ads and no tracking. You can find it at athan.lumenlabs.works if that sounds useful. The sunnah, of course, works with or without it.
Athan
Your prayer times. Nobody else's business.
Get Athan on the App Store and Google Play.
Keep reading
Athan · 6 min
How to Wake Someone Up for Fajr Without Starting a Fight: Make the Agreement the Night Before
How to wake someone up for Fajr without a fight: why the half-asleep snap isn't their real answer, and the night-before agreement that actually helps.
Athan · 7 min
Salat al-Hajah (Prayer of Need): How to Pray It When You're Desperate for Help, and Why Asking Out Loud Matters
Salat al-Hajah is the prayer of need. Learn how to pray it, what scholars say about its hadith, and why turning to prayer in distress is a sunnah with real weight.
Athan · 7 min
How to Wake Up for Tahajjud: What the Science of Segmented Sleep Says About Praying at Night
How to wake up for tahajjud without wrecking your rest: what segmented sleep research reveals about the last third of the night — and why your body may already know the way.