Farrukh Sarwar
← Back to Journal
Case Study5 min read

Building DeenLock: UX Lessons from a Prayer Habit Product

FS
Farrukh Sarwar
Published: 20 January 2025Updated: 25 January 2025
Behind the design decisions that drove a 37% increase in daily prayer consistency — and what behavioural design can teach every product designer.

DeenLock was one of the most technically and culturally challenging UX projects I've worked on. The product had to help Muslims maintain their five daily prayers — a spiritual obligation — in an environment full of smartphone distractions.

After 90 days of deployment, daily prayer consistency improved by 37% across the active user base. Here's what drove that number.

The Problem With Most Prayer Apps

Most Islamic apps approach prayer reminders as a notification problem. Set up a notification at prayer time, remind the user. If they miss it, send another notification.

This misunderstands the actual behaviour pattern. Users in our research weren't missing prayers because they forgot. They were missing prayers because they were deep in a task — scrolling, working, gaming — and the friction of stopping felt insurmountable in the moment.

The problem isn't a reminder. It's the gap between intention and action.

The Design Principle: Reduce Barrier to Starting

BJ Fogg's behavioural model gives us the framework: behaviour happens when motivation, ability, and a prompt converge at the same moment. For prayers, motivation is often high. The prompt (reminder) exists. The failure point is ability — specifically, the perceived effort of making the transition.

We designed every feature to reduce that perceived effort:

  1. The one-tap transition: From the home screen, a single tap marks a prayer as completed and shows the streak update. No sub-menu. No confirmation. The barrier is deliberately minimal.
  2. The streak animation: We used Lottie animations — a chain link being added — that play on completion. It's 1.2 seconds of visual reward that triggers a small dopamine response. These tiny rewards compound across a month.
  3. The quiet window: Instead of sending a notification at prayer time, we send a gentle ambient notification 3 minutes beforehand. Not "PRAYER TIME." Just a soft sound — the user's choice of adhan style — that creates awareness without urgency.

The Personalised Onboarding Problem

Most apps ask for personal data first: email, name, age. We flipped this.

Our onboarding starts with the user's prayer goals. "Which prayer do you find hardest to maintain?" "Would you describe yourself as someone who prays consistently, occasionally, or rarely?" The app learns your challenge before it asks your name.

This does two things: it positions the app as a supporter, not a tracker, and it generates the data needed to personalise the content shown — motivational insights, relevant reminders, Quranic verses related to the specific prayer.

Measuring the 37%

The 37% figure comes from comparing user-reported prayer completion rates at onboarding against the same user's app-logged completion rates at day 90. Not perfect — all self-reported data has limitations. But it's consistent across cohorts: users who engaged with the streak feature 4+ days in the first week showed a 44% 90-day consistency improvement vs. 18% for users who didn't engage with streaks in week one.

The design lesson: streaks work because they create sunk cost bias in the right direction. Missing a prayer doesn't just mean missing a prayer — it means breaking a streak you've built. That additional cost changes the calculation.

The Paywall: Non-Manipulative Conversion

The premium conversion screen was a deliberate exercise in ethical persuasion. We rejected several approaches that A/B tests suggested would drive higher conversion — countdown timers, "limited offer" framing — because they felt inconsistent with the product's spiritual nature.

What we kept: a clear statement of what premium provides (extended insights, more adhan styles, cross-device sync), a featured testimonial from a user who described impact on their practice, and a straightforward price. No friction, no dark patterns.

Premium conversion settled at 22%. Sustainable and honest.

The broader lesson: if your product genuinely helps people, you don't need manipulative conversion tactics. Show the value. Remove the friction. Trust will convert.

Related Case Study

DeenLock — Full Case Study
← All Articles
Share on X
Farrukh Sarwar
UX EngineerWorkspace Intelligence Editor

12+ years building digital products at the intersection of code and design. Senior Design Engineer at Insphere AI, UX Delivery Lead at ReloadUX, and Lead Designer at Tkxel. Based in Lahore, Pakistan.

More Articles

Workspace

My Desk Setup After 12 Years of Design Work

8 min read
UX

What AI Tools Have Changed in My UX Workflow in 2025

6 min read