Two people can pray the exact same two rak’ahs, in the exact same mosque, at the exact same time — and one’s prayer is accepted while the other’s is worthless. The difference isn’t in the movements. It’s in ikhlas: sincerity, the quiet condition of doing something purely for Allah, with no eye on who’s watching.
This sits underneath everything we’ve covered in Sabr and dhikr — patience without sincerity is just endurance, and remembrance without sincerity is just recitation. Ikhlas is what turns an action into worship.
Ikhlas (إِخْلَاص) comes from a root meaning “to purify” or “to make clear.” In Islamic terminology, it means purifying one’s intention so that an act of worship is done solely for Allah’s sake — not for praise, not for reputation, not out of habit, and not to be seen by others.
It’s not primarily about what you do. It’s about why you do it.
The Prophet ﷺ said it plainly:
“Actions are but by intentions, and every person will be rewarded according to what they intended.”
This hadith — one of the most frequently cited in Islamic scholarship — opens entire books of hadith precisely because scholars considered it foundational: the same external action can be worship or nothing at all, depending on what sat behind it.
Surah Al-Kahf closes with a related warning — that on the Day of Judgment, some people will bring what looks like good deeds, only to find them turned to nothing, specifically because those deeds weren’t done for Allah.
The opposite of ikhlas is riya — doing something religious to be seen, praised, or respected. The Prophet ﷺ described riya as a form of “hidden shirk,” precisely because it’s so easy to miss in yourself. Few people consciously think “I’m praying to impress people.” It’s subtler than that — a slight straightening of the back when someone walks into the room during prayer, a tendency to mention a good deed in conversation, a preference for visible charity over quiet charity.
None of this makes the underlying action wrong. Prayer is still prayer, charity is still charity. What changes is the reward attached to it — and the honesty of the person doing it, with themselves.
The short surah named Al-Ikhlas isn’t primarily about the human virtue of sincerity — it’s a declaration of Allah’s absolute oneness, revealed in response to people asking the Prophet ﷺ to describe his Lord. But the surah’s name reflects a real link scholars draw: purifying one’s belief in Allah’s oneness (tawheed) and purifying one’s intention in worship (ikhlas) are two expressions of the same underlying sincerity — one theological, one practical.
Scholars generally caution against obsessively interrogating your own intentions to the point of paralysis — that itself becomes a distraction from the act of worship. The healthier approach repeated across Islamic scholarship is:
One informal test scholars have suggested: imagine the deed will never be known by a single other human being — no likes, no compliments, no one finding out, ever. Would you still do it, and would you still do it with the same effort? The honest answer to that question says more about sincerity than any amount of self-analysis.
No — feeling pleased that a good deed is recognized isn’t the same as having done it for that recognition. The concern is with the motive behind the act, not with a natural human reaction afterward.
Not necessarily. Some visible good deeds (encouraging others, normalizing charity) can themselves be sincere and beneficial. The Quran acknowledges both public and private charity as valid. The key question remains the underlying intention, not visibility itself.
Intentions can and do shift over time. Many scholars note that consistently correcting one’s intention going forward is itself part of sincerity — it isn’t a one-time permanent verdict on the act.
Ikhlas is invisible by design — no one can verify it from the outside, which is exactly why it matters so much on the inside. The same prayer, the same charity, the same patience covered in our piece on Sabr — all of it is shaped entirely by the quiet answer to one question: who is this really for?
Continue exploring Islamic character and virtue in our Character & Virtues section, and browse upcoming Islamic gatherings and Mahafil near you.