The Holy Quran 7:153 — Surah Al-A'raf
Arabic text
وَٱلَّذِينَ عَمِلُوا۟ ٱلسَّيِّـَٔاتِ ثُمَّ تَابُوا۟ مِنۢ بَعْدِهَا وَءَامَنُوٓا۟ إِنَّ رَبَّكَ مِنۢ بَعْدِهَا لَغَفُورٌ رَّحِيمٌ
Translation
As for those who sin and then (sincerely) repent afterwards (after committing the sin) and accept Imaan, surely your Rabb is Most Forgiving, Most Merciful (He will forgive them).
Tafsir (excerpt) — Tafsir Usmani
that is, if someone commits an evil deed, even shirk (associating partners with Allah) and kufr (disbelief), and then repents and believes, then with the Most Forgiving, Most Merciful غَفُوْرٌ رَّحِيْمٌ there is no lack of mercy and forgiveness. This forgiveness and so on relates to the Hereafter.
Preview. The full text opens with JavaScript enabled.