DAWAH CODEX GUIDE

Sincerity (ikhlas) in Islam

By Dawah Codex · Updated 2026-11-27 · 3 min read

Please note: this is a general educational summary compiled from the sources listed below. It is not a fatwa. For your own situation or for rulings, please ask a qualified scholar.

The Prophet ﷺ said: “Actions are only by intentions, and each person will have only what he intended” (al-Bukhari and Muslim).

And they were not commanded except to worship Allah, being sincere to Him in religion.

Qur’an 98:5

What it means

Doing deeds for God alone.

Dangers

  • Riya’ (showing off) is minor shirk.
  • Seeking praise can ruin a good deed.

Protecting it

  • Renew your intention before every deed.
  • Hide some good deeds, as the Prophet ﷺ described the seven in God’s shade, including one who gave charity secretly (al-Bukhari and Muslim).
  • Ask God for sincerity.

Not a reason to stop

Do not leave a good deed fearing riya’. Imam al-Fudayl said leaving deeds for fear of people is itself showing off.

Sources and scholars

  • Imam al-Bukhari, Sahih al-Bukhari, Book of Revelation, hadith 1
  • Imam al-Nawawi, al-Arbaʿun, hadith 1
  • Ibn Rajab, Jami’ al-ʿUlum wa al-Hikam

Frequently asked questions

Can I do good publicly?

Yes, to encourage others, if your intention is for God.

What if a good thought of showing off comes?

Ignore it, seek refuge in God, and continue.

← All guides