Digital Life · Lesson 1 of 10
Why Did You Really Post That?
Understand how intention (niyyah) shapes the worth of what you post, and how to tell sincerity apart from showing off.
Same photo, two different posts
Saturday morning. Amira and her friend Hana spend three hours sorting tins at a local food bank. At the end, both take the same photo: crates stacked high, a volunteer badge in the corner.
Amira posts it with a link to the food bank's volunteer page and the caption they need people on Saturdays, come with us next week? Hana posts it too, then checks her likes every ten minutes, and quietly deletes it that evening because it only got twelve.
Same morning. Same good work. Same photo. But was it the same post?
Most of us have been both Amira and Hana at different times. This lesson is about the invisible thing that made the difference, and why Islam treats it as the thing that matters most.
The invisible part of every action
In Islam, every action has an outside and an inside. The outside is what people can see: the post, the photo, the caption. The inside is the niyyah, your intention: the reason you are actually doing it.
Sincerity: ikhlas
Ikhlas means doing something purely for Allah, or for a good reason that pleases Him, rather than for applause. It is not about feeling holy. It is about who you are really performing for.
Showing off: riya
Riya is doing good so that people will see it and think well of you. Social media did not invent riya, but it gave it a scoreboard. Likes, views and follower counts turn approval into a number you can refresh.
Posting good is not automatically showing off
This matters. Sharing a fundraiser, a beautiful recitation or a volunteer link can encourage other people to do good, and that can be a real benefit. Keeping some good deeds completely private can protect your sincerity. Both have their place. The question is never simply should I post? It is what is driving me to post?
Actions and the intentions behind them
عَنْ أَمِيرِ الْمُؤْمِنِينَ أَبِي حَفْصٍ عُمَرَ بْنِ الْخَطَّابِ رَضِيَ اللهُ عَنْهُ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ: " إنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ، وَإِنَّمَا لِكُلِّ امْرِئٍ مَا نَوَى، فَمَنْ كَانَتْ هِجْرَتُهُ إلَى اللَّهِ وَرَسُولِهِ فَهِجْرَتُهُ إلَى اللَّهِ وَرَسُولِهِ، وَمَنْ كَانَتْ هِجْرَتُهُ لِدُنْيَا يُصِيبُهَا أَوْ امْرَأَةٍ يَنْكِحُهَا فَهِجْرَتُهُ إلَى مَا هَاجَرَ إلَيْهِ". رَوَاهُ إِمَامَا الْمُحَدِّثِينَ أَبُو عَبْدِ اللهِ مُحَمَّدُ بنُ إِسْمَاعِيل بن إِبْرَاهِيم بن الْمُغِيرَة بن بَرْدِزبَه الْبُخَارِيُّ الْجُعْفِيُّ [رقم:1]، وَأَبُو الْحُسَيْنِ مُسْلِمٌ بنُ الْحَجَّاج بن مُسْلِم الْقُشَيْرِيُّ النَّيْسَابُورِيُّ [رقم:1907] رَضِيَ اللهُ عَنْهُمَا فِي "صَحِيحَيْهِمَا" اللذَينِ هُمَا أَصَحُّ الْكُتُبِ الْمُصَنَّفَةِ
It is narrated on the authority of Amirul Mu'minin, Abu Hafs 'Umar bin al-Khattab (ra) who said: I heard the Messenger of Allah (ﷺ) say: "Actions are (judged) by motives (niyyah), so each man will have what he intended. Thus, he whose migration (hijrah) was to Allah and His Messenger, his migration is to Allah and His Messenger; but he whose migration was for some worldly thing he might gain, or for a wife he might marry, his migration is to that for which he migrated."
وعن جُندب بن عبد الله بن سفيان رضي الله عنه قال: قال النبي صلى الله عليه وسلم : "من سمَّع سمَّع الله به، ومن يرائي الله يرائي به" ((متفق عليه)). ((رواه مسلم أيضًا من رواية ابن عباس رضي الله عنه)).
"سمَّع" بتشديد الميم، ومعناه: أظهر عمله للناس رياء " سمَّع الله به" أي فضحه يوم القيامة، ومعنى: " من راءى" أي: من أظهر للناس العمل الصالح ليعظم عندهم "راءى الله به" أي: أظهر سريرته على رءوس الخلائق.
Jundub (May Allah be pleased with him) said: The Prophet (ﷺ) said, "He who so acts to show off, Allah will disgrace him on the Day of Resurrection, and he who does good deeds so that people (may hold him in high esteem), Allah will expose his hidden evil intentions before the people on the Day of Resurrection."
What these two hadith teach
The first hadith is so central that many scholars open their books with it. The Prophet ﷺ taught that actions are judged by the intentions behind them, and that each person gets what they intended. He gave the example of migration: two people could make the exact same journey, one for Allah and one for some worldly gain, and the journey would count completely differently.
The second hadith is a warning. It describes a person who does good deeds so that people will admire them, and teaches that on the Day of Resurrection Allah will expose what was really going on inside. The thing they tried to hide becomes the thing everyone sees.
Put them side by side and the message for a teenager with a phone is clear: the likes are not the reward. Two people can post the same thing and one gains real good while the other gains only a number that will be forgotten by next week.
Seen at worship, absent in kindness
فَوَيْلٌۭ لِّلْمُصَلِّينَ
Ah, woe unto worshippers
ٱلَّذِينَ هُمْ عَن صَلَاتِهِمْ سَاهُونَ
Who are heedless of their prayer;
ٱلَّذِينَ هُمْ يُرَآءُونَ
Who would be seen (at worship)
وَيَمْنَعُونَ ٱلْمَاعُونَ
Yet refuse small kindnesses!
Performance without substance
These verses come at the end of Surah al-Ma'un, a short surah many people know by heart. They describe people who pray, but are careless about their prayer, who make sure they are seen worshipping, and yet hold back even small acts of kindness from others.
Notice the contrast. Their religion is all display and no generosity. That is the danger of a life lived for an audience: you put energy into looking good and less into actually being good.
A modern version might be someone with a feed full of beautiful Islamic quotes who is rude to their younger brother, ignores their mum's messages, and never helps anyone when no camera is around. The verses are not telling you to stop posting. They are asking whether there is substance behind the display.
What is really driving the post?
Choose the right answer for each one.
Three quick intention checks
- The no-likes test. If this post could never get a single like or view, would I still want to share it? If yes, your reason is probably solid.
- The secret-deed habit. Do at least one good thing each week that you tell nobody about. It trains your heart to work for Allah, not for an audience.
- The refocus. A passing wish for praise is normal and human. Don't let it stop you doing good. Notice it, push it away, and remind yourself why you started.
Sincerity is not a switch you flip once. It is something you keep returning to, many times a day.
Your own feed
Scroll back through your last ten posts or stories. For which ones were you mainly hoping for a reaction? Is there one you would post differently now, and what would change?
Private: kept only in this browser, never sent to us.
Check your understanding
Check your understanding
Ready to finish?
0 of 2 checks answered correctly. Get them all to finish.
Your progress is saved on this device. Sign in
Nicely done. That's one more thing you understand properly.
Next for you
Keep going with Digital Life
Chosen from how this connects to everything else you can learn here — never from what anyone else did.
Build my learning path