Quick answer
To be consistent with salah, build your day around the five prayers instead of fitting them into whatever time is left, and add one prayer at a time. Then take the phone out of the fight: block distracting apps at each prayer time, block them from bedtime until Fajr, and let someone you trust set the code so the night block holds. Sunnah Lock does all three, on iPhone and Android.
I make Sunnah Lock, which appears in this guide. Everything else here works with no app at all.
Why does your salah keep slipping?
Most Muslims who struggle with salah do not need another reminder of how important it is. They know.
A question on r/islam this year put it well: knowing salah matters and actually praying on time feel like two different things. Work gets busy. University gets stressful. Your phone keeps asking for your attention. Then you look up and a whole prayer time has gone.
The replies kept landing on the same idea. More reminders did not fix it. What fixed it was flipping the order: putting the prayers in the day first, and fitting everything else around them.
Allah describes prayer as having fixed times. In Abdel Haleem's translation: "prayer is obligatory for the believers at prescribed times" (Surah an-Nisa, 4:103). The times are fixed. Your day is what has to bend.
Step 1: Start with what you already pray
If you pray two of the five today, do not plan to pray all five perfectly from tomorrow. That plan breaks on day three.
A pattern that comes up again and again in people's stories: they started with one prayer they could hold every day, then added a second, then a third. Fajr was usually the last to stick. Pick the next prayer you will add, and hold it for a week or two before you add another.
Step 2: Tie each prayer to something you already do
- Dhuhr at the start of your lunch break, before you eat.
- Asr as the line between work or study and the rest of your day.
- Maghrib before dinner, with the family if you live together.
- Isha as the first step of your bedtime routine, not the last thing before sleep.
When you plan a trip out, check the prayer times first and decide where you will pray before you leave.
Step 3: How do you stop your phone eating prayer times?
The adhan notification goes off. You think "two minutes." You open one app. Forty minutes later, the time is nearly out. The fix is to stop the phone competing with the prayer at all.
Sunnah Lock can block the apps that pull you away at each prayer time, for example for 20 minutes from the adhan. When the time comes, social media, video and games lock, and the only thing left to do is pray.
For the apps that eat whole afternoons, block them for the stretch where they do the damage, such as from Dhuhr until Asr, so Asr does not get pushed back by a feed.
Step 4: Make the masjid a phone-free place
The masjid is the one place you should not need willpower to put the phone down.
The prayer-time block from Step 3 already covers the time you spend in the masjid. If you stay for a lesson or a halaqah, stretch that block to cover it, so social apps stay locked until you walk out.
Step 5: How do you stop missing Fajr?
Fajr is usually lost the night before, not in the morning.
- Lock the phone at night. A block from bedtime until Fajr means the phone has nothing to offer you when you wake except the alarm.
- Get the phone out of bed. Charge it across the room, with the alarm on.
- Sleep earlier. Every hour of late-night scrolling is an hour taken from the sleep that gets you up for Fajr.
A night block only works if you cannot lift it at midnight. That is where someone else holding the code comes in.
Let them set the code that protects your Sunnah Lock blocks. Without that code, blocks cannot be removed or switched off and the app cannot be deleted, so a weak moment has nowhere to go. You never see the code, and you never need to.
Parents setting this up for their children can follow our kids phone bedtime schedule guide, which ends the lock in time for Fajr.
Step 6: Ask Allah, and be gentle with yourself
Make dua for consistency. Read what the words of salah mean, so the prayer feels less like a task. And when you miss one, do not let it become an excuse to miss the rest of the day. Make it up as you were taught, and pray the next one on time.
The Qur'an warns "So woe to those who pray but are heedless of their prayer" (Surah al-Ma'un, 107:4-5, Abdel Haleem's translation). Consistency is not the whole goal, but it is where presence in the prayer starts.
Which setup should you pick?
Your phone pulls you away at prayer time: block distracting apps at each prayer with Sunnah Lock.
You keep missing Fajr: add a block from bedtime until Fajr and charge the phone across the room.
You keep lifting the night block: let someone you trust set the code (Step 5).
You do not want an app: phone in another room at every prayer, and charging across the bedroom at night.
Frequently asked questions
How do I become consistent with salah?
Build your day around the five prayers rather than fitting them into spare time. Start with the prayers you already pray, add one at a time, and tie each one to something you already do every day.
How do I stop missing prayers because of my phone?
Make the phone go quiet at prayer time. Sunnah Lock can block distracting apps at each prayer, so social media, video and games lock when it is time to pray.
Can Sunnah Lock block my phone at the masjid?
Yes. A prayer-time block covers the time you spend at the masjid, and you can stretch it to cover a lesson or halaqah, so social apps stay locked until you leave.
How do I stop missing Fajr?
Protect it the night before. Block distracting apps from bedtime until Fajr, charge the phone across the room with the alarm on, sleep earlier, and let someone you trust hold the code so you cannot lift the night block.
Does Sunnah Lock block apps at prayer times?
Yes. You choose which apps lock at each prayer and for how long, for example 20 minutes from the adhan.
Does Sunnah Lock work on iPhone and Android?
Yes. Sunnah Lock works on iPhone and Android, and every step in this guide works the same way on both.
Is Sunnah Lock free?
Sunnah Lock is free to download on iPhone and Android. Some features need a paid plan.
The bottom line
Consistency with salah comes from the shape of your day, not from more reminders. Put the prayers in first, add them one at a time, and take the phone out of the fight.
Sunnah Lock works on iPhone and Android. It is free to download on Google Play and the App Store, and some features need a paid plan.
Related reading: doomscrolling and ghaflah and best app blocker for Muslims in 2026.
Let the phone go quiet at prayer time
Distracting apps blocked at each prayer, a night block that ends at Fajr, and a code someone you trust holds. Works on iPhone and Android, free to download.