An-Nisa
4:17

An-Nisa 17

إِنَّمَا التَّوْبَةُ عَلَى اللَّهِ لِلَّذِينَ يَعْمَلُونَ السُّوءَ بِجَهَالَةٍ ثُمَّ يَتُوبُونَ مِنْ قَرِيبٍ فَأُولَٰئِكَ يَتُوبُ اللَّهُ عَلَيْهِمْ ۗ وَكَانَ اللَّهُ عَلِيمًا حَكِيمًا

Innameat tavbatu aalealleahi lillazeena yaa’maloonas sooa bi cahealatin summa yatooboona min kaareebin fa uleaika yatoobulleahu aalayhim. Va keanaalleahu aaleeman haakeemea(haakeeman).

But the repentance that Allah will accept is only for those who do evil in ignorance and quickly turn to Allah in repentance, so these are whom Allah accepts their repentance, and Allah is All-Knowing, All-Wise.

...