Assalamualaikum warahmatullahi wabarakatuh..
Bismillahirahamnirahiim..
Insyaallah..
The strongest view is that all good deeds can wipe away evil deeds. Allah says: “And establish prayer at the two ends of the day and at the approach of the night. Indeed, good works do away with evil deeds. That is a reminder for those who take heed.” [ Sûrah Hûd : 114]
A man once came to the Prophet (peace be upon him) and informed him that he had contact with a woman like a husband has with his wife, except that he did not go so far as to fornicate with her. This man had just prayed the Fajr prayer. The Prophet (peace be upon him) said: “Have you prayed with us the Fajr prayer?” When he replied that he had, the Prophet (peace be upon him) recited: “Indeed, good works do away with evil deeds.” [ Sahîh al-Bukhârî (526) and Sahîh Muslim (2763)]
However, a believer should always repent for his sins. Allah says: “And those, who when they commit an indecency or wrong themselves, remember Allah and seek forgiveness for their sins – and who forgives sins except Allah – and then do not knowingly persist in what they have done, for them is forgiveness from their Lord and gardens beneath which rivers flow, wherein they shall abide forever. How great is the reward for those who work righteousness.” [ Sûrah Âl `Imrân : 135]