• DailySunnah
  • Posts
  • Riya in Islam: Guarding Against Showing Off in Worship

Riya in Islam: Guarding Against Showing Off in Worship

The hidden danger of showing off in worship.

Introduction

“The Prophet Muhammad ﷺ once said: “The thing I fear most for you is minor shirk: showing off”

(Musnad Ahmad 23630)

Riya is subtle. A person may pray, give charity, teach Qur’an, or serve the community, yet their intention slips from Allah’s pleasure to people’s eyes. This redirection does not invalidate the outward deed, but it hollows its reward. Our tradition treats riya’ as a disease of the heart, corrosive because it shifts the axis of worship from the Creator to the crowd.

What Riya Is and Why It Matters

Riyā’ means performing a real act of devotion while aiming it at people. The prayer is valid in form, the Qur’an is recited, the charity is given, but the motive is no longer Allah alone. The Prophet ﷺ described this as a subtle shirk, because the deed that belongs to Allah is redirected toward human approval.

In truth, riyā’ undermines the purpose of worship itself: to honor Allah, not to secure status.

Clear Signs from Our Tradition

Imam Mawlūd and other scholars highlight telling signs:

  • A person feels heavy in private devotion but animated in public.

  • Praise increases effort, while silence reduces it.

Encouragement itself is not forbidden. The Prophet ﷺ praised good works to fortify faith. The danger lies in dependence, when approval becomes the fuel that drives worship, and without it the fire goes out.

Encouragement vs Flattery

Our scholars distinguish between madḥ (encouragement) and flattery. The first can inspire believers to increase obedience. The second feeds vanity and invites display. The question is simple: Does the praise remind us of Allah, or does it inflate our self-image in front of others?

Where Riya Hides Today

Riyā’ adapts to its environment, slipping into modern forms:

  • Mosques: sweetness in tone when the “right” person is near, or long public supplications that disappear at home.

  • Online spaces: sharing worship so others can “be inspired,” but the real aim is to be seen.

  • Knowledge circles: learning unusual points mainly to display wisdom.

  • Community service: serving as a path to influence rather than humble help.

It can even mix with material aims, appearing pious to secure trust, wealth, or status. This corrupts sincerity and damages the community’s trust.

The Roots and the Cure

At the root of riyā’ lie four cravings:

  1. Love of praise.

  2. Fear of blame.

  3. Desire for benefit from people.

  4. Fear of harm from people.

The cure begins with certainty: “If the entire nation were to gather to benefit you, they could not benefit you except with what Allah has already written for you…” 

(Hadith in Tirmidhi 2516)

When this truth settles, the crowd shrinks to its real size, and obedience becomes lighter.

Do Not Abandon Good Deeds

One mistake is to leave righteous acts out of fear of riyā’. But this too makes people the reference point. The solution is to keep the deed and correct the intention. If whispers come, “They will think you’re showing off”, renew your intention, seek Allah’s pleasure, and continue.

Sincerity is not a feeling to wait for; it is a discipline to practice within action.

Practical Program for Sincerity

  • Build a hidden portfolio: pray two units at night, give secret charity, or recite Qur’an unseen.

  • Check intention before public acts: Would I do this if no one noticed? Would I do it if I were blamed? If yes, proceed.

  • Handle praise carefully: thank Allah, ask Him to cover your faults, and add to your hidden portfolio.

  • Prefer usefulness over visibility: set rows, take out trash, reconcile accounts, tasks that polish the heart because they impress no one.

  • When public roles are necessary: teach, lead, or fundraise as a servant. Enter quietly, leave without self-importance.

Balancing Tact and Truth

The Prophet ﷺ practiced mudārāt (gentle tact for Allah’s sake) but forbade mudāhana (compromising truth for approval). The first softens hearts to accept guidance. The second sells out principles for applause. Ask yourself: am I softening speech to help someone approach the truth, or to secure their admiration?

A Note from Psychology

Modern psychology distinguishes intrinsic from extrinsic motivation. When actions depend on praise or recognition (extrinsic), persistence weakens once those cues fade. Islam calls us to ikhlāṣ, an intrinsic orientation rooted in Allah’s gaze. This shields our worship from fluctuation, reduces anxiety about impressions, and stabilizes spiritual growth.

Keep It Small, Keep It Regular

Massive gestures often collapse under their own weight. Small, steady acts endure. The Prophet ﷺ said: “The most beloved deeds to Allah are those done regularly, even if small.” 

(Bukhari 6465, Muslim 783)

Consistency builds sincerity, and sincerity transforms the heart.

Applying This Teaching to Our Lives

  1. Secret Night Prayer
    The Prophet ﷺ encouraged prayer in the last third of the night (Bukhari 1145). Even two raka‘āt hidden from all eyes builds sincerity and strengthens willpower. Psychology shows that private rituals reinforce intrinsic motivation and self-discipline.

  2. Hidden Charity
    The Prophet ﷺ praised the one who gives so secretly that “his left hand does not know what his right hand gives” (Bukhari 1421). Such acts train the brain’s reward circuits to detach from external validation and find fulfillment in inner meaning.

  3. Dhikr in Solitude
    Daily remembrance, even five minutes, rewires attention. Neuroscience notes that repetition reshapes pathways, making sincerity a reflex. The Prophet ﷺ said: “Remember Allah in ease, and He will remember you in hardship.” (Ahmad 2803).

  4. Routine Intention Checks
    Before meetings, prayers, or posts, ask: “Would I do this if unseen?” This cognitive reframing interrupts the autopilot of social validation and reorients the heart toward Allah.

  5. Embrace Unseen Service
    Cleaning the masjid, reconciling finances, answering calls, all polish the heart precisely because they impress no one. Modern research confirms that meaningful, humble service cultivates resilience and well-being.

FAQ

Q1: What does riyā’ mean in Islam?
Riyā’ is showing off in worship, performing acts of devotion for people’s approval instead of Allah’s pleasure.

Q2: Why is riyā’ called “minor shirk”?
Because it redirects deeds meant for Allah toward human eyes. The Prophet ﷺ warned of it as subtle idolatry of intention.

Q3: How do I know if I’m falling into riya?
Signs include more energy in public worship than in private, or dependence on praise to continue good deeds.

Q4: Should I stop good deeds if I fear showing off?
No. Leaving deeds for people is itself riyā’. Continue the action, correct your intention, and keep part of your worship hidden.

Q5: How can I cure riya?
Strengthen reliance on Allah, build hidden deeds, check intentions before actions, and detach from praise or blame.

Conclusion

Riyā’ is not only a spiritual danger; it is a psychological trap. It ties our worth to fleeting approval, leaving us anxious and unstable. Islam teaches us to anchor in Allah’s gaze, the only gaze that matters.

Keep it small, keep it regular, keep it for Him.

Footnotes

  1. Musnad Ahmad 23630

  2. Sunan al-Tirmidhi 2516

  3. Sahih al-Bukhari 6465, Sahih Muslim 783

  4. Sahih al-Bukhari 1145

  5. Sahih al-Bukhari 1421

  6. Musnad Ahmad 2803

Reply

or to participate.