Does Quran Tells Us That Sin Cancels Out Some Good Deeds?
As per Quran, it is only apostasy that nullifies the good deeds ( 2:217). Abandoning salat, though a sin, does not wipe out the good deeds, as there is no such support to the claim in Quran. However, since salat is a deterrence against sins (29:45), leaving a Salat will result in weakening of resistance and will against sins. So there is a relationship. Conversely on the other hand, it can be argued that good deeds wipe out or remove the sins (11:114). This narration is most likely fabricated, as it is attempting to create a disproportionate hype that is not commensurate with the quality of Kindness of God, and is not supported by Quran.