An-Nahl • EN-AL-JALALAYN
﴿ ثُمَّ إِنَّ رَبَّكَ لِلَّذِينَ عَمِلُوا۟ ٱلسُّوٓءَ بِجَهَٰلَةٍۢ ثُمَّ تَابُوا۟ مِنۢ بَعْدِ ذَٰلِكَ وَأَصْلَحُوٓا۟ إِنَّ رَبَّكَ مِنۢ بَعْدِهَا لَغَفُورٌۭ رَّحِيمٌ ﴾
“And once again: Behold, thy Sustainer [shows mercy] to those who do evil out of ignorance and afterwards repent and live righteously: behold, after such [repentance] thy Sustainer is indeed much forgiving, a dispenser of grace.”
Then indeed your Lord — to those who did evil associating others with God out of ignorance and then repented returned to God’s way after that and made amends in their actions — indeed your Lord after that that is after that ignorance or that repentance is Forgiving of them Merciful to them.