Dhikr Publishing

Digital Minimalism as Jihad al-Nafs: Reclaiming Your Attention for Allah

by Dhikr 6 min read

Your phone isn't just stealing your time — it's training your nafs to crave distraction. This practical, Islamic guide reframes digital detox as an act of worship: jihad al-nafs, muraqabah, and reclaiming the attention that belongs to Allah. No shame, no extreme fasts. Just return, protect, and continue.

A damascus steel, Turkish dagger is plunged into an iPhone the innards of the iPhone are spilling out like mechanical,  circuit intestines.

The phone in your pocket knows you better than you know yourself

In 2025, businesses spent more than US$300 billion advertising on social media, paying platforms like Instagram, TikTok and YouTube for one thing: your attention. The more time you spend scrolling, the more ads they can sell. If you stop engaging, businesses stop paying.

These companies therefore have every reason to keep you hooked, and they invest heavily to do it. Through tracking software they learn your habits, desires and wishes. Teams of engineers and psychologists, with budgets most of us cannot imagine, study your mind and tendencies with one goal: to keep you on your screen for as long as possible.

They have admitted this openly. Facebook’s first president, Sean Parker, recalled that the thinking behind building the network was “How do we consume as much of your time and conscious attention as possible?” He described likes and comments as a little dopamine hit that keeps people coming back.

The results are now so obvious that governments are stepping in. Australia has legislated to block under-16s from platforms like Instagram, YouTube, Facebook, TikTok and Snapchat.

But adults are not immune. The modern phone deludes and deceives you. It drags you away from the important goals in your life so that you might fulfil the most short-lived of passing desires: a like, a laugh, a tear. The phone you hold so tightly to your chest might very well be a dagger you thrust into the best version of yourself.


Jihad al-Nafs

So what can you do? You cannot go to war with billion-dollar companies, and you don’t need to, because their power over you is more limited than it seems. In this they are like Shayṭān: they call and entice, but they cannot make you answer. In Sūrah Ibrāhīm 14:22, Shayṭān admits as much to his followers on the Day of Judgment:

“Allah made you a true promise, and I made you a promise and broke it. I had no power over you except that I called you and you answered me. So do not blame me; blame yourselves. I cannot save you, and you cannot save me. I reject your having made me a partner [with Allah] before…”

Shayṭān will take no blame and offer no help, and neither will the platforms. They will call, but the choice to answer is yours, and so is the responsibility. The real battle, then, is not against them but against your own nafs: your lower self, with its appetite for instant pleasure. Its battlegrounds are your mind, your body and your heart. Our scholars call this struggle jihad al-nafs.

Seeing it this way changes the solution. If phone addiction were only a productivity problem, a few hacks would fix it. But it is a symptom of something deeper: a lack of self-discipline. And that is serious, because a nafs that is never restrained can lead a person to give away their whole life, and their hereafter, for its pleasures. Allah warns:

“Have you seen the one who has taken his own desire as his god, and Allah has left him astray despite his knowledge, and set a seal on his hearing and his heart, and put a covering over his sight? Who then will guide him after Allah? Will you not take heed?”

— Sūrah al-Jāthiyah 45:23

No one sets out to take their desire as their god. It happens one small surrender at a time: one more video, one more refresh. But once you call it what it is, your nafs being trained by engineered triggers, you can reach for the tools Islam has offered for over a thousand years: murāqabah (watchfulness), tawbah (return), duʿāʾ (supplication), dhikr (remembrance), and intentional boundary-setting.


The war within: what fighting the nafs actually looks like

The ninth-century scholar al-Ḥakīm al-Tirmidhī, in his treatise Discipline of the Nafs, explains that the nafs is governed by impulses that become habits through repetition. He takes the example of the eyes: the nafs grows used to the pleasure of letting its gaze land wherever it pleases, until one day it is shown something forbidden and can no longer control itself, because the impulse of looking has seized the sight. Twelve centuries before the infinite scroll, he described it exactly. Every swipe, every refresh, every glance at a notification is a small repetition that trains the impulse a little stronger.

The cure, he says, works in reverse. When a person obliges his eye to lower its gaze, the impulse to look gradually dies, until his looking becomes an act of worship and his lowering of the gaze becomes an act of worship. He applies the same to the tongue, the ears, the hands, the feet, the stomach and the private parts. Mujāhadah, striving, is to wean each of these limbs from its habits until the impulse dies.

Three things follow from this.

It is a real war, not a weekend detox. Al-Tirmidhī describes a man who “merely wished to struggle against his nafs”: he fasted for a few days and then abandoned it, avoided some impulses whilst indulging in others, and did good deeds only when they brought him joy and energy. He is rewarded for his effort, but he “has not truly gone to war.” Deleting Instagram for a week, then reinstalling it the moment you feel bored, is the same pattern. True striving is consistent, and it is aimed at the impulse itself, not just its most visible symptom.

The goal is taming, not destruction. Al-Tirmidhī’s word for the training of the nafs carries the sense of breaking a wild animal — the way a falcon is trained to hunt not for itself but for its keeper. You are not trying to hate your phone, or yourself. You are trying to bring a powerful, unruly part of you under the command of your heart, so that its strength serves Allah rather than an algorithm.

You cannot win it alone. Al-Tirmidhī warns that if you face the nafs with only knowledge and intellect, it will overcome you. You need the help of Allah, through His remembrance and reliance upon Him. As he puts it: “The war is yours to wage, but the victory belongs to Allah.” And Allah has promised: “Those who strive for Us, We will surely guide them to Our ways” (al-ʿAnkabūt 29:69).


Choose your master

The phone in your pocket will never stop calling. The companies behind it will keep investing billions to make that call more irresistible. But like Shayṭān on the Day of Judgment, they hold no real power over you except that they call and you answer.

The question is not whether you will be disciplined by something. It is what will discipline you: an algorithm optimised for advertisers, or a heart trained by the remembrance of Allah. Fight with watchfulness, return through tawbah, ask through duʿāʾ, fill the void with dhikr, and close the doors that lead you astray. The war is yours to wage, and the victory belongs to Allah.


The quotations and teachings of al-Ḥakīm al-Tirmidhī in this article are drawn from Discipline of the Self, translated by Omer Siddique and published by Dhikr Publications. To read his full guidance on taming the self — including the appended extract from Riyāḍat al-Nafs (Training of the Self) — visit dhikr.com.au. An accompanying app is also in the workks