Beliefs (Aqeedah)
Riya
Riyā'
Showing off in worship — performing religious acts to be seen and praised by people rather than for Allah; called "the minor shirk".
What is Riya?
Riya is the poisoning of an act of worship by the intention to be seen and praised by people. On the outside the deed looks correct; on the inside, its purpose has slipped from Allah to the eyes of others. It is the direct opposite of ikhlas, and one of the greatest dangers to a believer's deeds — hidden, subtle, and often unnoticed even by the one committing it.
The Prophet's ﷺ Warning
The Prophet ﷺ said: "The thing I fear most for you is the lesser shirk (al-shirk al-asghar)." They said: "What is the lesser shirk, O Messenger of Allah?" He said: "Riya. Allah will say on the Day of Resurrection, when He rewards people for their deeds: 'Go to those for whom you were showing off in the world and see if you find any reward with them'" (Ahmad 23636, Ibn Majah 4204). He also said that among the first three thrown into the Fire on the Day of Judgement will be the martyr, the scholar, and the generous man — each because he did his deed "so that people would say" what he wanted to be said (Muslim 1905).
The Three Kinds of Riya
Ibn Rajab and other imams have classified riya in relation to the timing of the intention:
- Riya from the beginning — the deed is done from its very start for people's sake. This is the most damaging and invalidates the deed entirely.
- Riya that enters during the deed — the deed began for Allah but a passing thought of being seen enters. If the servant fights it and refuses it, the deed remains valid. If he entertains and follows it, it may harm the deed.
- Riya after the deed — a feeling of pleasure at being praised after doing an act sincerely for Allah. Natural joy at appreciation is not the same as having done the deed for that appreciation; scholars call the immediate feeling of good news to the believer permissible.
Why Riya Is So Dangerous
The Prophet ﷺ compared riya to something even subtler: "Shall I not tell you of what I fear for you more than the false messiah (al-Masih al-Dajjal)?" They said: yes. He said: "Hidden shirk: a man stands to pray and beautifies his prayer because he sees another man looking at him" (Ibn Majah 4204, Ahmad 11252). Riya is dangerous because it operates in the same shape as ihlas — an outward act of worship — but from the opposite direction: not for Allah, but for the audience.
How to Guard Against Riya
- Take voluntary deeds into secrecy — the Prophet ﷺ praised the man who gives charity so that his left hand does not know what his right has given (Bukhari 660).
- Renew your intention before, during, and after every act.
- Remember that Allah alone rewards — nothing done for people's sake will be found with Allah on the Day of Judgement.
- Beware the two extremes: some avoid good deeds in front of people to escape riya, but this is another kind of following people rather than Allah. The scholars say: do the obligatory deeds openly and hide the voluntary ones as much as one can.
- Seek refuge in Allah — the Prophet ﷺ used to say: "O Allah, we seek refuge in You from associating anything with You knowingly, and we ask Your forgiveness for what we do not know" (Ahmad 19606).
Frequently Asked Questions
Does natural joy at appreciation count as riya?
No. A believer feels joy when good is said of him, and the Prophet ﷺ called this bushra al-mu'min al-'ajilah, "the immediate glad tidings of the believer" (Muslim 2642). What is riya is doing the deed for that joy, not experiencing it as a bonus after doing a deed for Allah.
Should I stop good deeds because I fear riya?
No. This is a well-known trick of shaytan: leading a person away from good under the disguise of piety. The imams said: do the deed for Allah, fight the thought of showing off if it comes, and know that the presence of the thought is not itself sin. The sin is following the thought, not being visited by it.
Etymology & origin
Riya (الرياء) is from the root R-A-Y ("to see"), and literally means "to be seen". In Islam it denotes performing an act of worship for the sake of being seen and praised by people, rather than purely for Allah. The Prophet Muhammad ﷺ called it al-shirk al-asghar — the lesser shirk — because it divides an act of worship between Allah and others in the servant's heart.
References
- Quran:
- 107:4-7, 2:264, 4:38, 4:142, 8:47, 18:110
- Hadith:
- Ahmad 23636 / Ibn Majah 4204 (riya as the lesser shirk — the thing the Prophet ﷺ feared most for us); Muslim 1905 (the martyr, scholar, and generous man thrown in the Fire because they did their deeds so that people would say...); Ibn Majah 4204 / Ahmad 11252 (riya more feared than the Dajjal — the hidden shirk); Bukhari 660 (the man whose left hand does not know what his right has given); Muslim 2642 (bushra al-mu'min al-'ajilah — the immediate glad tidings); Ahmad 19606 (the du'a against knowing and unknowing shirk)
Related terms
Ikhlas
Sincerity — performing all worship purely for Allah, free from showing off or worldly motives; a condition for acceptance of any deed.
Iman
Faith — belief in the heart, affirmation by the tongue, and action by the limbs; it comprises six pillars and increases with obedience.
Niyyah
The sincere intention in the heart that precedes any act of worship; the Prophet ﷺ said "actions are by intentions."
Shirk
Associating partners with Allah — the gravest sin in Islam, the opposite of Tawhid; it nullifies deeds and, if unrepented, bars entry to Paradise.
Tawbah
Repentance — sincere return to Allah after sin: stopping the wrong, regretting it, and resolving not to repeat it; Allah loves those who repent.