You pick up your phone to check one thing. Twenty minutes later you are watching someone’s holiday, comparing it to yours, feeling obscurely inadequate, having seen an argument about something you cannot affect, and wondering why you feel vaguely depleted. This is not a personal failing. It is by design.
Social media platforms are engineered to produce precisely this response. The question for a Muslim is not just what it does to your mood. It is what it does to your heart.
What the scroll actually feeds
Constant social comparison is one of the primary drivers of hasad. The Prophet warned that envy consumes good deeds as fire consumes wood (Abu Dawud 4903). Social media is a system specifically designed to maximise comparison — it curates other people’s highlight reels and places them directly in front of you, repeatedly, at maximum emotional vulnerability. Scroll at 11pm when you are tired, and the comparison lands harder.
It also feeds riya. When you post good deeds — the Quran being read, the charity given, the hajj performed — the question the Prophet asked of every action applies: who is this for? The like count is a public measure of what should have been private. Ibn al-Qayyim wrote that riya is the most subtle form of shirk because it redirects worship from the Gaze of Allah toward the approval of creation.
What it does to the tongue
The Prophet said whoever believes in Allah and the Last Day should speak good or remain silent (Bukhari 6018). Social media has created a third category: speaking without thinking, to an audience, without consequence felt at the time. Comments, threads, quote-tweets — the tongue now reaches further than it was designed to go, faster than the heart can assess, and the harvest it plants is real regardless of the scroll that generated it.
Not prohibition, but intention
Social media is not haram. It can be used for genuine good — sharing knowledge, maintaining relationships, calling people to what is right. The question is whether you are using it or it is using you. Are you opening it with a purpose and closing it when done? Or does it open automatically, hold you longer than you intended, and close leaving you worse than before?
The principle of “speak good or remain silent” applies here. Before posting, the same question applies: is this good? Not just not-harmful. Good. Does it add something true, beautiful, or useful? If the honest answer is no — the scroll provides a third option that Islam does not.
Frequently Asked Questions
Is social media haram in Islam?
Social media itself is not haram — it is a tool, and tools take on the ruling of their use. Using it to share beneficial knowledge, maintain ties, or call to good is praiseworthy. Using it to backbite, spread rumours, incite envy, or waste time is blameworthy. The Islamic framework evaluates the use and its effects on the heart, not the platform itself.
How does social media relate to riya?
Riya is performing acts of worship to be seen by people. When ibadah is posted — Quran recitation, charity, religious content — the intention deserves scrutiny. Would the deed still happen if no one could know? The like count is a real-time measure of public approval that the heart can become dependent on, redirecting the act from Allah’s pleasure toward people’s recognition.
Before you open it: why? Before you post: is this good? After you close it: did it leave you better or worse? Three questions. The answers tell you what the habit actually is.