Two people give the same amount to charity. Same act, same sum, same recipient. In Allah’s eyes, they are not the same at all. The difference is entirely in what’s happening in their hearts.
That difference has a name: ikhlas.
What ikhlas actually means
Ikhlas — إِخْلَاص — is sincerity: doing everything solely for the sake of Allah ﷻ, seeking only His pleasure and no one else’s recognition. It’s when you don’t wish for anyone other than Allah ﷻ to witness your deed, and you don’t want anyone other than Him to reward you for it.
The Prophet ﷺ said: “Actions are according to intentions, and every person will have what they intended.” (Bukhari · 1, Muslim · 1907). This isn’t just an opening to a hadith collection — it’s the governing principle of all Islamic action. The same act can be worship or theatre, depending entirely on the intention behind it.
An intention can transform anything
The Prophet ﷺ said: “Indeed you do not spend anything seeking the pleasure of Allah ﷻ, except that you will be rewarded for it — including what you place in your wife’s mouth.” (Bukhari · 56). Feeding your family. Dropping your children to school. Making someone a cup of tea. When you do these things seeking Allah’s pleasure, they become ibadah. The ordinary becomes sacred through intention.
Ibn al-Mubarak ؒ said: “How many a small act is elevated by an intention, and how many a great act is diminished by one.” A massive donation driven by reputation can be worth nothing. A small act done in the dark, for no eyes but His, can carry immense weight.
The power of the secret deed
One of the most effective ways to build ikhlas is to do good in secret — and tell no one. Not even in passing. The Prophet ﷺ said: “Whoever amongst you is able to have hidden good deeds, let him do so.” (Musannaf Ibn Abi Shaybah)
Imam al-Shafi’i ؒ said he wished he could share his knowledge with people without a single person knowing it came from him. Imam Malik ؒ was elevated by Allah ﷻ — people said — precisely because of a secret between him and his Lord that no one else knew.
Try it. Pick one good deed this week. Do it, tell no one, and notice what it feels like. The absence of anyone knowing is initially uncomfortable — and that discomfort is revealing. It shows how much of your action has been sustained by the reward of being seen. Removing that quietly builds something purer.
The enemy of ikhlas: riya
Riya — showing off — is the direct opposite of ikhlas. The Prophet ﷺ called it the “minor shirk” (Ahmad · 23630) — the most insidious version of associating something with Allah ﷻ, because instead of the outright worship of an idol, it’s the covert worship of others’ opinions.
In an age of social media, riya has never been easier to fall into. You post about a good deed. You mention your charity in conversation. You frame your fasting or prayer in a way that can be overheard. None of these things are necessarily riya — but they create conditions where it thrives. Sufyan al-Thawri ؒ said: “I have never dealt with anything more difficult than my intention — it keeps changing on me.”
The answer isn’t to stop doing good publicly — sometimes public acts have a legitimate purpose. It’s to regularly check the intention, both before the act and during it. Ask: who am I really doing this for?
Frequently Asked Questions
What is ikhlas in Islam?
Ikhlas is sincerity — performing acts of worship and good deeds solely for the sake of Allah ﷻ, without seeking recognition, praise, or reward from people. It’s described by scholars as the foundation of din, because actions without ikhlas lose their spiritual weight regardless of their outward form.
What is riya and why is it so serious?
Riya is performing acts of worship to be seen by people rather than for Allah ﷻ. The Prophet ﷺ called it the “minor shirk” (Ahmad · 23630) because it redirects worship — even partially — away from Allah ﷻ toward the approval of others. It’s considered particularly dangerous because it’s subtle and can contaminate otherwise sincere deeds.
How do you build ikhlas?
Through consistent intention-checking before, during, and after good deeds; through regular secret deeds that are witnessed by Allah ﷻ alone; through reducing public sharing of personal worship; and through supplication — asking Allah ﷻ directly for sincerity. Umar ibn al-Khattab ؓ used to pray: “O Allah, make all of my deeds righteous, and make them purely for Your sake.”
Do one thing this week that no one will ever know about. Give something quietly. Help someone anonymously. Pray two extra rakat in the dark. Then notice the difference. That’s ikhlas starting to build.