How Repentance Can Replace Disobedience with Good Deeds in Islam
TIMES SPENT IN DISOBEDIENCE TO ALLĀH CAN BE BROUGHT BACK FOR AMENDMENT
“Whatever of your time has passed in disobedience to ALLĀH, it is possible for you to bring it back ˹and amend it˺. And it has been said, ‘Time is like a sword, if you don’t cut it, it will cut you.’ And this is correct wisdom save that ALLĀH has accepted the repenters from this. For whatever time they have wasted in committing zinā, even murder, in fact, even shirk – then whoever repents from them will find his scroll ˹of deeds˺ not just white and plain ˹free of those evils˺ but good deeds will have been written on it in replacement of those evil deeds, as if his time had been adorned with them. And nothing is impossible for ALLĀH, HE is the One who said:
"...except for those who repent, believe and do righteous work. For them ALLĀH will replace their sins with good deeds. And ever is ALLĀH Forgiving and Merciful."(25:70).
The Path to Guidance || Page 101-102