A look at ikhlas in Islamic teaching, drawn from the Quran and authentic hadith.
Islamic teaching holds a specific, unsettling warning at the center of its discussion of good deeds: an act of worship performed outwardly to perfection can still be entirely worthless, or worse, if the intention behind it was corrupted. Ikhlas, sincerity – performing every act purely for Allah’s sake, with no admixture of seeking praise, recognition, or worldly gain – is treated as the condition on which a deed’s acceptance depends, not an optional refinement added on top of it.
Surah al-Bayyinah states the requirement plainly: people “were not commanded except to worship Allah, being sincere to Him in religion” (98:5) – positioning sincerity not as one virtue among many but as the actual content of what worship was commanded to consist of. Surah az-Zumar repeats the same instruction almost word for word (39:2), a repetition scholars read as underlining how easily this single condition can be overlooked amid outward religious performance.
A hadith recorded in Sahih Muslim describes three people brought before Allah on the Day of Judgment first among all creation to be judged – a man who died in battle, a scholar who taught and recited Quran, and a wealthy man who gave charity – each confronted with having done these very acts, and each told plainly that they had done them to be called brave, knowledgeable, or generous, and that they had already received that recognition in the worldly life. All three, the hadith states, are then dragged into the Fire – despite outward deeds that would ordinarily be counted among the greatest a person could perform.
A hadith recorded by Imam Ahmad has the Prophet Muhammad ﷺ describing riya, showing off in worship, as ash-shirk al-asghar, the lesser form of associating partners with Allah – a term scholars have treated with particular seriousness given how grave shirk is elsewhere in Islamic theology, even in its lesser category. The same hadith describes Allah, on the Day of Judgment, telling those who performed deeds to be seen by others to go and seek their reward from those very people they sought to impress, since He has no need of a deed given to anyone but Him.
One of the most widely memorized hadith in the entire tradition, recorded in Sahih al-Bukhari and Sahih Muslim, opens with the Prophet ﷺ stating that deeds are judged by intentions, and that each person will have only what they intended – a hadith so foundational that classical scholars, beginning with Imam al-Bukhari himself, placed it at the very opening of major hadith compilations, treating it as the correct lens through which every subsequent hadith on worship ought to be read.
Classical scholars, including Ibn al-Qayyim and earlier figures such as Sufyan al-Thawri, describe ikhlas as a state few people fully attain and even fewer sustain without periodic slippage, since the desire for recognition tends to creep back in subtly even after a person believes they have purified their intention. This is part of why sincere self-examination before and during acts of worship is treated in classical teaching not as a one-time correction, but as a continuous internal discipline – the quiet, largely invisible work that determines whether an outwardly identical deed is accepted or rejected.
Classical scholars distinguish between riya committed at the outset of a deed, performing it specifically to be seen, and a subtler form that creeps in afterward, when a person who genuinely began an act sincerely later finds themselves pleased that someone noticed it, or feels a flicker of satisfaction at being praised for something they had not originally sought recognition for. Sufyan al-Thawri, an early and widely respected scholar, is reported to have said that he never treated anything as harder to correct in himself than his own intention, precisely because it kept changing shape even after he believed he had settled it. A hadith recorded by Ibn Majah describes the Prophet ﷺ being asked directly about a man who performs a good deed and is then praised for it by other people, and answering that this is an early good news given to the believer in this world, provided the praise was not the reason the deed was done in the first place. Scholars cite this hadith to draw a careful line classical teaching insists on: unsought praise received after a sincere deed is not itself riya and does not retroactively spoil the deed’s reward, but a person who begins actively courting or savoring that praise as an end in itself has crossed from receiving an incidental blessing into the very corruption of intention ikhlas is meant to guard against.
Understood this way, ikhlas is not a peripheral detail of Islamic practice but part of its lived, everyday texture.
For a closely related topic, see our discussion of Shukr: Gratitude in Islamic Teaching. For further primary-source reading, Quran.com offers searchable access to the full text of the Quran and its major hadith collections.
No Comments