Sincerity of Intention (Ikhlas): Protecting Good Deeds from Ostentation (Riya)
"And they were not commanded except to worship Allah, [being] sincere to Him in religion, inclining to truth..." (Surah Al-Bayyinah [98:5])
"And they were not commanded except to worship Allah, [being] sincere to Him in religion, inclining to truth..." (Surah Al-Bayyinah [98:5])
In Islamic spirituality, outward physical movements possess no intrinsic value before Allah unless they are animated by an inward life of purity. Ikhlas (الإخلاص), derived from the root kh-l-ṣ, signifies to purify, to clarify, to separate a precious metal from all contaminating dross and alloy. An act characterized by Ikhlas is performed solely for the pleasure and countenance of Allah, stripped of every desire for human applause, prestige, wealth, or self-gratification.
This principle forms the absolute cornerstone of Islam, which Imam al-Shafi'i, Imam Ahmad, and Imam Abu Dawud declared to encompass one-third of all Islamic knowledge:
"The Messenger of Allah ﷺ said: 'Actions are but by intentions, and every person will have only what they intended. So whoever migrated for worldly gain or to marry a woman, his migration is for what he migrated to.'" — Sahih al-Bukhari (1), Sahih Muslim (1907)
Ikhlas operates like spiritual alchemy: it transforms the most routine biological necessities—eating to maintain strength for worship, sleeping early to wake up for Fajr, working an honest job to support a family—into consecrated acts of worship. Conversely, without Ikhlas, even the most heroic deeds—martyrdom, building grand mosques, reciting scripture—collapse into worthless dust.
The diametric opposite of Ikhlas is Riya' (الرياء)—derived from ru'yah (seeing)—which means performing acts of devotion so that people see, applaud, and revere the worshiper. The Prophet ﷺ warned the Sahabah that this was the single greatest threat to their spiritual salvation:
"The thing I fear for you the most is the minor shirk." The companions asked: "What is the minor shirk, O Messenger of Allah?" He replied: "Ar-Riya' (ostentation). On the Day when people are rewarded for their deeds, Allah will say to them: 'Go to those whom you used to show off for in the world and see whether you can find any reward with them!'" (Musnad Ahmad 23630).
In a sobering hadith recorded in Sahih Muslim (1905), the first three people judged on the Day of Resurrection are not notorious criminals, but:
All three are dragged on their faces into the Fire because their outward piety was poisoned by the thirst for human acclaim.
Regarding Surah Al-Mulk [67:2]: "That He may test you which of you is best in deed (أَحْسَنُ عَمَلًا)", the great Tabi'i ascetic Al-Fudayl ibn 'Iyad (d. 187 AH) gave the definitive classical formula:
"The best in deed means: the most sincere (akhlisuhu) and the most correct (aswabuhu)."
When asked to explain, he said: "If a deed is sincere but not correct according to the Sunnah, it is rejected; if it is correct according to the Sunnah but not sincere for Allah, it is rejected. It is never accepted until it is both purely for Allah (Ikhlas) and strictly in accordance with the Prophetic guidance (Ittiba')."
Classical masters of purification of the soul (*Tazkiyat an-Nafs*) provided practical diagnostic mirrors to check whether an action is motivated by Ikhlas or by subtle vanity:
Do you recite Quran with exquisite beauty and prolong your prostrations when others are watching, but rush through your prayers in your private bedroom? If solitary devotion is absent, ostentation is at play.
Ali ibn Abi Talib (RA) said: "The ostentatious person has three signs: he is sluggish when alone, energetic when among people, and he increases his work when praised and diminishes it when criticized."
If another person performs the charitable initiative, teaches the class, or receives the community's gratitude, does your heart secretly feel jealous? True Ikhlas cares only that Allah's religion is served, not that *you* are credited.
Preserving sincerity in an age of social media likes, subscriber counts, and public broadcasting requires deliberate defensive habits:
Zubair ibn al-Awwam (RA) advised: "Whoever among you is able to have hidden righteous deeds that none knows about except Allah, let him do so." Ensure you have voluntary prayers in the dead of night, anonymous monthly charitable donations, and private fasting that not even your spouse or children know about.
Recite daily the supplication taught by the Prophet ﷺ to Abu Bakr: "Allāhumma innī a'ūdhu bika an ushrika bika wa anā a'lam, wa astaghfiruka limā lā a'lam" (O Allah, I seek refuge in You from knowingly associating anything with You, and I seek Your forgiveness for that which I do not know) — Sahih al-Adab al-Mufrad.
Imam al-Fudayl famously cautioned: "Abandoning a good deed for the sake of people is ostentation; and doing a deed for the sake of people is shirk; whereas Ikhlas is that Allah cures you from both." If Shaytan whispers that you are showing off while giving public charity or leading prayer, ignore him, renew your intention in your heart, and proceed with the good deed.
Before typing a social media reply, delivering an Islamic reminder, or offering assistance to a neighbor, pause for three seconds. Ask your soul: "Why am I doing this? For whose applause?" Purify the vessel before pouring the water.
Daily Noor presents verified ayahs on spiritual devotion with audio recitation, tafsir insights, and customizable canvas export cards.