the harm he has done them. Good deeds erase evil deeds.
Likewise, if an unbeliever who used to insult the Prophet and call him a liar repents, testifies that Muhammad is Allah’s Messenger, who speaks the truth and is told the truth, and comes to love him, praise him, and invoke blessings upon him, his good deeds erase his evil deeds. Allah Most High
“accepts repentance from His servants and pardons evil deeds, and He knows what you do.”
He Most High has also said:
“Hā Mīm. The revelation of the Book is from Allah, the Almighty, the All-Knowing, the Forgiver of sins and Accepter of repentance, severe in punishment, abounding in bounty. There is no deity worthy of worship except Him; to Him is the final return.”
May Allah bless Muhammad and his Companions and grant them peace.