What Is Ikhlas in Islam? — Sincerity, Riyā’, and Pure Intention

There is a hadith in Bukhari that is so foundational it is described by scholars as “a third of the entire religion” — the hadith of intentions: “Actions are only by their intentions.” At the heart of this principle is Ikhlas. Without it, an act of worship — however long, however impressive — produces no reward. With it, the smallest act carries more weight than a lifetime of performance without it. This article defines Ikhlas with the exactness the concept demands.

What Does Ikhlas Mean? — The Arabic Root

Ikhlas (إخلاص) comes from the Arabic root khalaṣa (خَلَصَ), meaning “to be pure, free from mixture, cleared of impurities.” The same root is used for clarifying honey from wax, or gold from ore — separating the pure element from everything that dilutes it.

In Islamic theology, Ikhlas is the purification of intention so that an act of worship is done solely for Allah ﷻ — free from the mixture of any other motivation: desire for praise, fear of blame, love of status, financial interest, or social approval. The act is done because Allah ﷻ deserves it, for no other reason.

The Arabic term for the opposite of Ikhlas is riyā’ (رياء) — ostentation or showing off. If Ikhlas is the gold purified from ore, riyā’ is the ore mixed back into the gold. Both can look like worship from the outside; only one of them is.

Surah Al-Ikhlas — The Quranic Definition

An entire surah of the Quran is named after this concept — Surah Al-Ikhlas (Quran 112). The Prophet ﷺ said it is “equal to a third of the Quran” — Bukhari 5013. Its content is the purest declaration of Allah’s indivisible unity and freedom from any aspect that might dilute or compromise His singularity:

قُلْ هُوَ اللَّهُ أَحَدٌ ۝ اللَّهُ الصَّمَدُ ۝ لَمْ يَلِدْ وَلَمْ يُولَدْ ۝ وَلَمْ يَكُن لَّهُ كُفُوًا أَحَدٌ
Qul Huwa Allāhu Aḥad. Allāhus-Ṣamad. Lam yalid wa lam yūlad. Wa lam yakun lahu kufuwan aḥad.
“Say: He is Allah, the One. Allah, the Eternal Refuge. He neither begets nor is born, nor is there to Him any equivalent.” — Quran 112:1-4

The Surah describes Allah ﷻ as Aḥad (absolute one, indivisible) and Ṣamad (the Self-sufficient, upon whom all depend). Ikhlas in worship mirrors the nature of Allah being worshipped: just as Allah ﷻ is undivided and without partners, Ikhlas is the act of worshipping Him in a way that is undivided and without partners in motivation. Worship shared with other motives is worship that contradicts the character of the One being worshipped.

The Hadith of Intentions — Ikhlas as the Core Condition

إِنَّمَا الأَعْمَالُ بِالنِّيَّاتِ وَإِنَّمَا لِكُلِّ امْرِئٍ مَا نَوَى
Innamal-a’mālu binniyyāt wa innamā likulli imri’in mā nawā
“Actions are only by their intentions, and every person shall have only what they intended.” — Bukhari 1, Muslim 1907

This is the opening hadith of Sahih Bukhari — Imam Bukhari chose it as the first hadith in the most rigorously authenticated collection in Islamic history. The placement is deliberate: before any act of worship is described, the principle that determines whether any act counts is established. Innamā (only, exclusively) is a limiting particle (ḥarf ḥaṣr) — it restricts the statement: exclusively by intention do actions count.

The implication for Ikhlas: an act performed with a divided intention — partly for Allah, partly for human recognition — receives reward only proportional to the sincere portion. An act performed entirely for showing off receives no divine reward at all, and may generate a spiritual burden instead.

Riyā’ — The Opposite of Ikhlas, and Its Danger

The Prophet ﷺ described riyā’ (ostentation/showing off in worship) as one of the most serious spiritual dangers, calling it “the hidden shirk” (al-shirk al-aṣghar in some narrations, al-shirk al-khafī in others):

“What I fear most for you is the minor shirk.” The Companions asked: “What is the minor shirk, O Messenger of Allah?” He said: “Riyā’. Allah will say on the Day of Resurrection, when people are being recompensed for their deeds: ‘Go to those for whom you were showing off in the world and see if you find your reward with them.'” — Ahmad 23630, graded Sahih by al-Albani

The term “minor shirk” does not minimize riyā’ — it distinguishes it from the major shirk that removes a person from Islam. Riyā’ is “minor” in the technical classification of shirk levels, but the Prophet ﷺ identifies it as his greatest fear for the Companions — people who prayed, fasted, and fought in the way of Allah. The danger of riyā’ is precisely that it operates inside Islamic practice, not outside it.

Signs of Riyā’ in Acts of Worship

Ibn al-Qayyim in Madarij al-Salikin identifies several signs that an act of worship has been infected by riyā’:

  • The act of worship is performed more energetically or more carefully when others are watching
  • The act is diminished or abandoned entirely when no one is watching
  • The person feels pleasure when praised for worship and displeasure when their worship goes unnoticed
  • The act of worship is timed or structured to maximize visibility to others
  • The person feels reluctant to worship at all if they know no one will witness it

Does Any Human Recognition Nullify Ikhlas?

A common question — and a critical one, since it affects whether people think Ikhlas is even attainable. If feeling pleasure when someone praises your worship nullifies it, few acts would be accepted. Islamic scholarship addresses this precisely:

The Prophet ﷺ was asked: “A man does good deeds and people praise him for it — what do you think?” He replied: “That is the immediate glad tidings for the believer.”Muslim 2642

The scholars derive from this hadith that:

  1. Pleasure at recognition after a sincere act does not nullify Ikhlas — the act was done for Allah; the praise came afterward and was not the motivation
  2. Only motivation for human recognition before or during the act produces riyā’ — if the act is driven by the desire for praise, it is riyā’; if praise arrives after a sincerely-done act, it is a gift
  3. The test is: would you have done it if no one would ever know? If yes, Ikhlas is present. If no, riyā’ is the driving force.

Ikhlas in Dua — The Essential Spiritual Connection

The first and most fundamental condition for dua acceptance is sincerity — Ikhlas in the asking. The Quran directly commands it:

فَادْعُوا اللَّهَ مُخْلِصِينَ لَهُ الدِّينَ
Fad’ullāha mukhlisīna lahud-dīn
“So call upon Allah, being sincere to Him in religion.” — Quran 40:65

A dua made for appearance — performed loudly in front of others, made in stylized language primarily to impress the listeners, or made from a heart that is not actually oriented toward Allah ﷻ — contradicts Ikhlas in dua. The etiquettes of dua — particularly the instruction to make dua softly, humbly, and with presence of heart — are direct expressions of Ikhlas in supplication.

Ikhlas and Ihsan — Two Dimensions of the Same Act

Ikhlas and Ihsan address the same act of worship from two different angles:

  • Ikhlas addresses for whom the act is done — it must be purely for Allah ﷻ
  • Ihsan addresses how the act is done — it must be done with excellence and full consciousness of Allah ﷻ

Ibn al-Qayyim identifies these two as the twin conditions accepted by Allah ﷻ: “No action is accepted unless it is both Ikhlas (sincere) and correct (Sunnah-compliant). These are derived from the two testimonies of faith: La ilaha illa Allah (Ikhlas — for Allah alone) and Muhammad Rasulullah (correct — as the Prophet ﷺ taught).”

An act done with Ikhlas but without Ihsan lacks the quality of excellence. An act done with Ihsan (visible quality) but without Ikhlas (sincere intention) is riyā’. The accepted act has both.

Cultivating Ikhlas — Practical Approaches

1. Examine Your Intention Before Every Act

The Companions had a practice — recorded by several scholars — of pausing before acts of worship to examine their niyyah (intention). Umar ibn al-Khattab (رضي الله عنه) is attributed with the statement: “Whoever purifies his intention, Allah suffices him against people’s critique.” The pause before the act is the moment where Ikhlas is either established or riyā’ is allowed to root.

2. Worship Privately — The Training Ground of Ikhlas

Private worship — nawafil (voluntary) prayers, night prayers, private dhikr, private dua, private charity — cannot be motivated by human recognition because no human witnesses it. Maintaining and even prioritizing private worship builds the Ikhlas muscle. The Prophet ﷺ described the one whose heart is attached to the masjid (including all acts of worship Allah’s house represents) as among the seven shaded by Allah on the Day of Judgement — Bukhari 660.

3. Make Dua Against Riyā’

The Prophet ﷺ taught a specific dua against riyā’ — which establishes that the Companions needed this protection and that asking Allah ﷻ for Ikhlas is itself a form of Ikhlas:

اللَّهُمَّ إِنِّي أَعُوذُ بِكَ أَنْ أُشْرِكَ بِكَ وَأَنَا أَعْلَمُ، وَأَسْتَغْفِرُكَ لِمَا لَا أَعْلَمُ
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 partners with You, and I seek Your forgiveness for what I do not know.” — Ahmad 19606, graded Sahih by al-Albani

4. Conceal Voluntary Good Deeds

The Prophet ﷺ described the sadaqah given so secretly that “the left hand does not know what the right hand gives” — Bukhari 660 — as among the highest forms of charity precisely because it eliminates the possibility of riyā’. Scholars extend this: concealing nawafil prayers, not mentioning voluntary fasting, not announcing private charity — all preserve Ikhlas by removing the possibility of human recognition as a motivating factor.

FAQs — What Is Ikhlas

If I do a good deed hoping for Jannah (Paradise), is that Ikhlas?

Yes — worshipping Allah out of hope for Jannah or fear of Jahannam is a recognized and valid form of Ikhlas. The scholars classify it as the worship of rajā’ (hope) and khawf (fear), which are both Quranic commands. The highest form of worship combines these with maḥabbah (love) — worshipping Allah because He deserves it, beyond reward or punishment. But hoping for Jannah is not riyā’; it is a form of sincerity directed toward Allah’s promise, not toward human recognition.

What if I begin an act for Ikhlas but riyā’ enters later?

Scholars distinguish between riyā’ that enters before the act (which nullifies the act), riyā’ that enters during the act (which may weaken it, but can be rejected internally — the act is not necessarily nullified if the person rejects the riyā’), and riyā’ that enters as a fleeting thought (which is to be rejected and does not nullify the act). The Quran acknowledges: “Indeed, those who have believed and do righteous deeds — the Most Merciful will appoint for them affection.” (Quran 19:96) — the love and recognition that righteous people naturally attract from others is not riyā’.

Can public acts of worship ever have Ikhlas?

Yes — the five daily congregational prayers, Friday Jumu’ah, Hajj, and other obligatory public acts of worship are done publicly by definition. Ikhlas in public worship means the motivation is fulfilling the obligation for Allah ﷻ, not the audience. Additionally, public acts of worship that serve as demonstrations of Islamic practice — the adhan, the prayer in congregation — carry the specific reward of benefiting those who see them and increasing in the ummah. Ikhlas in these cases includes the intention that others benefit from the act.

Mohammed Basheer

Mohammed Basheer is the founder of Sukoonly.com, an Islamic blog focused on duas, prophetic healing, and Qur’anic wisdom. He writes with sincerity and spiritual depth for seekers around the world.

Leave a Reply