Blog
screen timedigital wellnessproductivity

Turn Your Phone Into a Hasanat Machine

A practical step-by-step guide to setting up your smartphone so it actively helps you earn hasanat (good deeds) and supports your deen instead of pulling you away from it.

Turn Your Phone Into a Hasanat Machine
N

Nafs Team

· 6 min read

Your Phone Is a Mirror

Your smartphone is not inherently good or bad. It is a mirror of your intentions. The same device that can pull you into hours of mindless scrolling can also help you memorize the Quran, maintain your daily adhkar, give sadaqah with a tap, and listen to a reminder while you commute.

The question is not whether to use your phone. The question is: who is in control — you or the algorithm?

The Prophet (peace be upon him) said: “Take advantage of five before five: your youth before your old age, your health before your illness, your wealth before your poverty, your free time before your preoccupation, and your life before your death.” (Al-Hakim)

Every minute you spend scrolling aimlessly is a minute that could have been a hasanat. This guide is a practical walkthrough to flip that equation.

Step 1: Audit Your Current Usage

Before you can transform your phone, you need to see the truth about how you’re using it.

Go to your phone’s screen time settings and look honestly at:

  • Total screen time per day — most people are shocked to see 4–6 hours
  • Your top three apps — this tells you where your attention actually goes
  • First use of the day — if it’s social media before Fajr, that’s your baseline problem
  • Late-night usage — screens after Isha disrupt sleep and Fajr

Write down what you see. This is your starting point. The Quran reminds us: “He knows what you conceal and what you reveal.” (An-Naml 27:25). Your screen time report is where you reveal the truth to yourself.

Step 2: Redesign Your Home Screen

Your home screen is prime real estate. What lives there shapes your default behavior.

Remove from your first screen:

  • Social media apps (Instagram, TikTok, Twitter/X, YouTube)
  • News apps
  • Games

Add to your first screen:

  • A Quran app (Quran Companion, Ayat, or similar)
  • A dhikr or tasbeeh counter app
  • A prayer times app
  • A halal giving/sadaqah app
  • A du’a reference app

The goal is simple: when you reach for your phone out of habit, the first things you see should be tools for your deen, not portals to distraction.

Make it easy to do good and hard to do time-wasting. This is a principle from behavioral science, and it aligns perfectly with the Islamic concept of closing the doors to what weakens you.

Step 3: Schedule App Blocks Around Prayer Times

This is the highest-leverage change you can make.

Block distracting apps — especially social media and streaming — for 30 minutes before and after each prayer. Here is why:

The 30 minutes before prayer is when shaytan most wants to distract you. If you’re scrolling Instagram right up until the athan, your heart is still in the scroll when you stand for salah. Your body is on the prayer mat but your mind is elsewhere.

The 30 minutes after prayer is equally precious. It’s when you’re closest to having just spoken to Allah. Many scholars note this as an ideal time for istighfar, adhkar, and du’a. Picking up your phone immediately after salah is like hanging up a call with your most beloved and immediately calling someone who means far less.

Apps like Nafs let you schedule these blocks automatically, so the discipline happens without relying on willpower in the moment.

Step 4: Create an Intentional Morning Phone Protocol

The first 30–60 minutes after waking sets the tone for the entire day. Most people immediately reach for their phones and flood their minds with notifications, news, and other people’s lives.

Instead, build a phone protocol like this:

0–10 minutes after waking: No phone. Make your waking du’a, use the bathroom, perform wudu.

10–30 minutes: Open your Quran app and recite your target pages for the day before Fajr or immediately after.

30–60 minutes (after Fajr and morning adhkar): Now you may check messages and email — but only messages that require a response. Still no social media.

After 1 hour: Normal use, within your scheduled limits.

This sequence means your first mental inputs of the day are the words of Allah rather than someone’s curated highlight reel.

Step 5: Use Idle Minutes for Dhikr

Think about how many minutes per day you spend in true dead-time: waiting in line, sitting in traffic, on hold, walking between rooms.

For most people this adds up to 30–60 minutes daily. That time is currently going to absent-minded phone checking.

Instead:

  • Set a dhikr count goal (e.g., 100 SubhanAllah, 100 Alhamdulillah, 100 Allahu Akbar daily) and track it with a counter app
  • Listen to a short Quran recitation or tafsir podcast during your commute
  • Keep a du’a audio on your phone for morning drives
  • Enable audio du’as for common moments (before eating, leaving the house, entering the masjid)

The Prophet (peace be upon him) said: “Shall I not tell you the best of deeds, the most pure in the sight of your Lord, and the one that raises your rank the most?” They said yes. He said: “The remembrance of Allah.” (Ibn Majah)

That deed is always available, costs nothing, and your phone can help facilitate it.

Step 6: Monetize Your Attention for Charity

Every time you open a distracting app, you are giving that platform something valuable: your attention. They sell it to advertisers.

Flip the transaction. Set up automated sadaqah so that your financial generosity runs on autopilot. Several Islamic giving platforms allow recurring micro-donations:

  • Set a small daily recurring donation to a charity you believe in
  • Use a round-up app that donates small amounts when you make purchases
  • Donate the amount of money you would have spent on a coffee each time you catch yourself scrolling mindlessly

These micro-acts of sadaqah turn what was once pure time-loss into something that carries reward.

Step 7: End Your Day Intentionally

How you put down your phone at night matters as much as how you pick it up in the morning.

Create a night protocol:

  • Phones charging outside the bedroom (or at minimum, across the room)
  • Read your evening adhkar from a physical book or memorized — not from your phone
  • Recite Ayat al-Kursi, the last two ayat of Al-Baqarah, and the three Quls before sleep
  • Make a brief mental accounting of the day: What did I earn today? What did I waste?

The Prophet (peace be upon him) said: “When any one of you goes to sleep, the shaytan ties three knots at the back of his head.” Making dhikr before sleep — not scrolling — is the sunnah antidote.

The Compound Effect of Small Changes

None of these steps is dramatic on its own. But when you stack them together and maintain them for thirty days, the compound effect is significant:

  • Your Quran reading grows by 5–10 pages daily without needing a special program
  • Your daily dhikr count reaches levels that would previously have required dedicated sessions
  • Your salah improves because your mind arrives less cluttered
  • Your emotional baseline stabilizes because you’re feeding your heart differently

A phone configured this way is not a distraction device with a few Islamic apps installed. It becomes a genuine instrument of worship — a hasanat machine that earns you reward even during the gaps in your day.

The intention behind your setup is itself an act of worship. The Prophet (peace be upon him) said: “Indeed, actions are judged by intentions.” Setting up your phone with the intention of drawing closer to Allah is already a start.


Nafs was built for exactly this purpose — to help you take back your attention and point it where it belongs.


Keep Reading

Start with the complete guide: The Complete Guide to Islamic Digital Wellness

Ready to trade screen time for ibadah? Download Nafs free — 1 minute of worship = 1 minute of screen time.

Want to replace scrolling with ibadah?

1 minute of worship = 1 minute of screen time. Fair exchange.

Download Nafs