Quick answer: The Quran and Sunnah give clear rules that apply perfectly to social media: verify news before sharing (Al-Hujurat 49:6), speak good or stay silent (Bukhari 6018), avoid backbiting, mockery and spying (Al-Hujurat 49:11–12), conceal others' faults (Muslim 2699), lower the gaze (An-Nur 24:30) and guard your time (Bukhari 6412). Every post, comment and forward is recorded: "Man does not utter any word except that with him is an observer prepared." (Qaf 50:18)

Social media can spread knowledge, connect families and support good causes – or spread lies, hurt reputations and waste hours. Here is a practical Islamic code of conduct for the digital world.

1. Verify before you share

"O you who believe, if a wrongdoer comes to you with news, verify it, lest you harm a people out of ignorance and become regretful over what you have done." (Al-Hujurat 49:6)

The Prophet ﷺ said: "It is enough of a lie for a person to narrate everything he hears." (Sahih Muslim, Introduction, 5)

A quick verification checklist

  1. Source: is it an official account or reliable outlet?
  2. Date: is this old news being recycled?
  3. Image check: do a reverse image search for suspicious photos.
  4. Hadith check: is the hadith in a reliable collection with a grading? Many viral "hadiths" are fabricated.
  5. Emotion check: if it makes you angry or scared immediately, slow down.
  6. When in doubt, do not forward.

Fabricated hadith warning: The Prophet ﷺ said: "Whoever lies about me deliberately, let him take his seat in the Fire." (Bukhari 110, Muslim 3). Never share a "hadith" without a trusted reference.

2. Speak good or stay silent

"Whoever believes in Allah and the Last Day, let him speak good or remain silent." (Bukhari 6018, Muslim 47)

"A servant may speak a word without thinking about it, and because of it he slips into the Fire further than the distance between east and west." (Bukhari 6477, Muslim 2988) – one careless tweet can be that word.

3. No mockery, insults or backbiting

"O you who believe, let not a people ridicule another people; perhaps they may be better than them... and do not insult one another and do not call each other by offensive nicknames... and do not spy or backbite each other." (Al-Hujurat 49:11–12)

The Prophet ﷺ defined backbiting as "mentioning your brother with what he dislikes." If it is true, it is backbiting; if false, it is slander. (Sahih Muslim 2589). Screenshots of private chats, "exposing" people, and mocking memes about real individuals all fall under this.

4. Conceal faults, protect privacy

  • "Whoever conceals (the faults of) a Muslim, Allah will conceal him in this world and the Hereafter." (Sahih Muslim 2699)
  • Do not post photos or videos of people – especially women, children, the sick or people in embarrassing situations – without permission.
  • Avoid filming accidents or the deceased for views.

5. Lower your gaze online

"Tell the believing men to lower their gaze and guard their private parts... And tell the believing women to lower their gaze and guard their private parts." (An-Nur 24:30–31). Curate your feed: unfollow accounts that push you to haram, and use content filters.

6. Your time is a trust

"There are two blessings in which many people are deceived: health and free time." (Bukhari 6412)

"Part of the excellence of a person's Islam is leaving what does not concern him." (Tirmidhi 2317, hasan)

Practical time rules

  • Set daily app limits (Screen Time / Digital Wellbeing).
  • No phone in the first hour after Fajr or the last hour before sleep.
  • Turn off non-essential notifications.
  • Replace one hour of scrolling with Quran, family or learning.

7. Avoid showing off and envy

Posting for likes can spoil intentions; seeing others' "perfect lives" can breed envy and ingratitude. "Look at those below you (in worldly matters) and do not look at those above you, for that is more likely to keep you from belittling Allah's blessings upon you." (Muslim 2963)

8. Use it for good

  • Share verified beneficial knowledge – "Convey from me, even one verse." (Bukhari 3461)
  • Support charity campaigns from trusted platforms.
  • Reconnect with relatives.
  • Be the calm, respectful voice in heated discussions: "The strong one is not the one who wrestles others, but the one who controls himself when angry." (Bukhari 6114)

Before you post – the 5 questions

  1. Is it true and verified?
  2. Is it beneficial?
  3. Is it kind – would I say it to the person's face?
  4. Does it respect privacy?
  5. Would I be happy to see it on my record of deeds?

Summary

  • Verify, especially news and hadith.
  • Speak good or stay silent; no mockery or backbiting.
  • Protect privacy and conceal faults.
  • Guard your gaze and your time.
  • Use your platform to spread benefit.