- Published on
What Nullifies Your Good Deeds? The Acts That Can Erase Them
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education โข Deen Back
ุจูุณูู ู ุงูููู ุงูุฑููุญูู ูฐูู ุงูุฑููุญูููู ู
In the name of God, the Most Gracious, the Most Merciful.

You wake up for Fajr every day. You give sadaqah. You try to keep your prayers. And yet the Prophet warned of a kind of spiritual bankruptcy where a person arrives on the Day of Judgment with what looks like a mountain of good deeds โ and leaves with nothing.
The concept of deed-nullification in Islam is not meant to create paralysis or despair. It is meant to create a specific kind of awareness: the awareness that the deeds we perform and the actions we follow them with are connected. Certain sins do not just add weight on one side of the scale โ they actively reduce the other side.
Understanding which acts carry this risk is not pessimism. It is spiritual intelligence.
The Short Answer
There are several categories of acts that can nullify or severely diminish the reward of good deeds:
- Apostasy โ the most severe, nullifies all deeds completely if unrepented
- Riya (showing off) โ nullifies the specific act performed for show
- Mann and Adha โ reminding recipients of your charity and causing them harm with it
- Backbiting, slander, and oppression of others โ transfers your good deeds to those you wronged
- Certain major sins committed persistently without tawbah can diminish the overall spiritual account
The first is irreversible without sincere return to Islam. The rest can be addressed through sincere tawbah. The Quran's promise that tawbah restores and replaces is genuine โ but it requires actual repentance, not just good intention to change "someday."
The Evidence
Apostasy (Riddah)
Allah says:
ููู ูู ููุฑูุชูุฏูุฏู ู ููููู ู ุนูู ุฏูููููู ููููู ูุชู ูููููู ููุงููุฑู ููุฃูููููฐุฆููู ุญูุจูุทูุชู ุฃูุนูู ูุงููููู ู ููู ุงูุฏููููููุง ููุงููุขุฎูุฑูุฉู
"And whoever of you reverts from his religion and dies while he is an unbeliever โ for those, their deeds have become worthless in this world and the Hereafter."
โ (Surah Al-Baqarah, 2:217)
This is the most complete form of deed-nullification. Every prayer, fast, hajj, and act of charity is voided without repentance and return to Islam. The Quran repeats this in Surah Az-Zumar (39:65) and Surah Muhammad (47:32-33).
Riya (Showing Off) โ Shirk of Actions
The Prophet said:
"The thing I fear most for you is the minor shirk." The Companions asked: "What is the minor shirk, O Messenger of Allah?" He said: "Ar-riya (showing off). On the Day of Judgment, when people are being rewarded for their deeds, Allah will say: 'Go to those for whom you were showing off in the world, and see if you find any reward with them.'"
โ (Ahmad 23630, classified sahih by al-Albani)
The act performed for human approval โ the sadaqah given to be seen, the prayer performed to appear pious, the knowledge shared to seem learned โ carries no reward. The person gets exactly what they sought: the admiration of the audience. And nothing else.
Mann and Adha โ Reminding Others of Your Generosity
ููุง ุฃููููููุง ุงูููุฐูููู ุขู ููููุง ููุง ุชูุจูุทููููุง ุตูุฏูููุงุชูููู ุจูุงููู ูููู ููุงููุฃูุฐูููฐ
"O believers, do not invalidate your acts of charity with reminders of your generosity or hurtful words."
โ (Surah Al-Baqarah, 2:264)
Mann is reminding the recipient of your charity โ "I gave you that job," "I helped you during that difficult time" โ in a way that leverages the favor or diminishes the recipient. Adha is causing harm through the giving, such as accompanying a gift with mockery or conditions that demean.
Both nullify the sadaqah. The charity is for Allah โ not for the recipient's gratitude or your social leverage.
Backbiting and Oppression โ The Spiritual Bankruptcy
This is the category that most Muslims underestimate. The Prophet described a specific scenario:
"Do you know who the bankrupt person is?" They said: "The bankrupt among us is the one who has no money and no goods." He said: "The truly bankrupt from my ummah is the one who comes on the Day of Resurrection with prayer, fasting, and zakah, but who insulted this person, slandered that person, consumed the wealth of another person, shed the blood of another, and struck that person. So they (the wronged people) will be given from his good deeds. If his good deeds run out before justice is settled, some of their sins will be taken and cast onto him, and then he will be thrown into the Fire."
โ (Sahih Muslim 2581)
This hadith is not theoretical. The mechanism is precise: good deeds transferred to wronged parties, sins transferred to the wrongdoer, spiritual bankruptcy declared.
The deeds that feed this mechanism are those that violate the rights of other human beings: gheebah (backbiting), namimah (gossip that creates discord), oppression, theft, unjust anger, breaking ties of kinship without cause.
The Details and Common Cases
Does watching your intention fully prevent riya?
Setting a sincere intention before an act is necessary but not sufficient on its own. Riya can enter during an act โ you begin a deed for Allah and then, mid-prayer, become aware of who is watching and subtly shift to performing. The scholars differentiate:
- Riya that contaminates an act entirely: the intention was never sincere โ full nullification
- Riya that enters mid-act: if you resist it and do not alter your act based on it โ generally not nullifying; seek istighfar and continue
- Riya that you welcome and act upon mid-act โ damages or nullifies the reward
The remedy for riya anxiety: do not stop the deed. Resist the riya, continue the act sincerely, and make istighfar. Stopping every time you notice a riya-thought would itself become a problem.
Does sin during Ramadan nullify the entire month's deeds?
Not automatically. Sins committed during Ramadan do not erase the rewards of fasting and prayer within Ramadan, though they diminish the benefit and may cost you specifically in the areas the sins touch. The Prophet warned that those who do not leave false speech and acting on it during Ramadan โ "Allah has no need of their leaving food and drink" (Sahih Bukhari 1903). The fast is present but its full spiritual fruit is diminished.
Does an argument after giving sadaqah nullify it?
An argument with the recipient that involves reminding them of the charity (mann) or harming them with words or treatment (adha) does nullify the sadaqah per Quran 2:264. A general argument unrelated to the charity does not directly nullify it, though it may carry its own weight.
Don't Let Doubt Win
Here is where this topic can become a spiritual trap: knowing these nullifiers without knowing the remedies leads to anxious, paralyzed practice. The person checks their intention obsessively, worries that every prayer was tainted by riya, and loses confidence in their worship entirely.
This is the nafs using correct information to produce incorrect action. The antidote:
- Act, then repent. Do the deed. If you suspect riya, say istighfar afterward and renew your intention. Do not stop mid-act.
- Trust the process of tawbah. Sincere tawbah genuinely restores and replaces lost reward (Quran 25:70). The Islamic system is designed for human inconsistency.
- Focus on the rights of others proactively. The "spiritual bankruptcy" hadith is the one to take most seriously โ not because the others are less real, but because the rights of people are the hardest to restore. You can seek forgiveness from Allah directly. For human rights, you may need to seek forgiveness from the person as well.
Protect Your Good Deeds With Daily Muhasabah
DeenBack helps you build a daily spiritual self-accounting practice โ tracking your acts of worship and helping you maintain the consistency and intention that protect your spiritual account.
Free download. Premium features available in-app.
Quick Reference: What to Do
| Nullifier | Remedy |
|---|---|
| Riya during an act | Resist it; continue sincerely; say istighfar |
| Mann/Adha with charity | Ask forgiveness from Allah and if possible from the recipient; do not repeat |
| Backbiting/Slander | Ask forgiveness from Allah; seek forgiveness from the person if possible without causing greater harm |
| Major sins generally | Sincere tawbah: remorse, cessation, firm resolve |
| Rights violations | Seek forgiveness and make restitution where possible |
Common Questions
If my prayers are not accepted because of riya, am I still obligated to pray?
Yes. The obligation to pray does not depend on acceptance โ you are obligated to pray sincerely, and you work on your intention. You cannot excuse yourself from salah due to concerns about your intention โ the remedy is to refine the intention, not abandon the act.
Is it too late if I spent years backbiting?
No. Sincere tawbah is available up until the point of death. The scholars differ on whether you must specifically seek forgiveness from each person you backbited. The safer view is to make dua for those you may have harmed and, where contact is possible and would not cause greater harm, to seek forgiveness. Where direct forgiveness is not possible, increase in good deeds and dua for those you wronged.
Does missing a prayer nullify my other prayers?
Missing an obligatory prayer does not nullify the reward of other prayers. However, the person who deliberately and persistently abandons prayer is in a severe state โ some scholars consider persistent abandonment of salah to be outside of Islam. This is a separate question from deed-nullification.
Can excessive sin "cancel out" good deeds on the scale?
The scale of deeds is weighted rather than simply adding and subtracting โ some deeds are weightier than others, and the mercy of Allah is a factor that cannot be quantified by human logic. The honest answer is: Allah is the judge, tawbah is available, and the goal is consistent uprightness rather than calculating whether you "have enough" to compensate for sin.
For the full treatment of what nullifies wudu and prayer specifically, see what nullifies wudu and what nullifies prayer. For practical tools on addressing persistent sin, see how to stop committing the same sin and how to purify your heart in Islam.
Protect What You Have Built
Every prayer, every fast, every act of generosity is real. It is on a record that does not erase without a reason.
The point of knowing what nullifies good deeds is not to become paralyzed with fear. It is to treat your spiritual account with the care it deserves โ monitoring what you say about people, checking your intention before major acts, and maintaining tawbah as a daily practice rather than a last resort.
The Prophet's community knew these warnings and still led lives of confident worship. They understood that Allah's mercy and the mechanism of tawbah exist precisely for the human being who tries, fails, and tries again.
Be that person.
Build a Daily Spiritual Accountability Practice
DeenBack helps you build muhasabah โ daily self-accounting โ as a habit, tracking your deeds and helping you maintain the consistency, intention, and repentance that protect everything you've built.
Free download. Premium features available in-app.
Frequently Asked Questions
Can good deeds be erased in Islam?
Yes. The Quran and hadith describe several acts that can nullify, diminish, or completely erase the reward of good deeds. The most serious is apostasy (Quran 2:217). Other major nullifiers include showing off (riya), reminding others of favors done, and certain grave sins. However, sincere tawbah (repentance) can restore and replace lost reward โ Allah's mercy is not conditional on a perfect record.
Does backbiting nullify my good deeds?
Yes. One of the most cited hadith on this topic: a person arrives on the Day of Judgment with a mountain of good deeds, but they also backbited, slandered, or oppressed others. Those people's rights take from the person's good deeds until they run out โ at which point the wronged people's sins are transferred to the person. (Sahih Muslim 2581). This is called 'al-muflis' โ the bankrupt.
Does one major sin erase all my good deeds?
Not automatically โ this depends on the nature of the sin. Apostasy explicitly nullifies all deeds without repentance (Quran 2:217, 39:65). For other sins, scholars differentiate between sins that take from specific rewards and those that do not automatically erase general good deeds. Sincere tawbah removes the sin's weight. The goal is to protect your deeds through consistent repentance and avoiding the specific nullifiers mentioned in evidence.
Does showing off (riya) nullify all my prayers?
Acts performed entirely for show โ to impress people rather than for Allah โ are nullified in their entirety. 'I am the Most Self-Sufficient, in no need of partners. Whoever performs an act in which he associates someone with Me, I will leave him and his shirk.' (Sahih Muslim 2985). For acts where the intention was genuine but a moment of showing off crept in, the scholars differentiate. Genuine mixed intention should be addressed with istighfar and renewal of niyyah.
If my deeds are nullified, can I get them back?
Yes. Sincere tawbah does not just erase the sin โ the Quran says for those who repent, believe, and do righteous deeds, Allah will replace their bad deeds with good ones (Quran 25:70). Repentance can restore what was lost and adds new credit. The door of tawbah remains open as long as a person is alive.
