4:17
إِنَّمَا ٱلتَّوْبَةُ عَلَى ٱللَّهِ لِلَّذِينَ يَعْمَلُونَ ٱلسُّوٓءَ بِجَهَـٰلَةٍ ثُمَّ يَتُوبُونَ مِن قَرِيبٍ فَأُو۟لَـٰٓئِكَ يَتُوبُ ٱللَّهُ عَلَيْهِمْ ۗ وَكَانَ ٱللَّهُ عَلِيمًا حَكِيمًا
innamā l-tawbatu ʿalā l-lahi lilladhīna yaʿmalūna l-sūa bijahālatin thumma yatūbūna min qarībin fa-ulāika yatūbu l-lahu ʿalayhim wakāna l-lahu ʿalīman ḥakīman
But God only undertakes to accept repentance from those who do evil out of ignorance and soon afterwards repent: these are the ones God will forgive, He is all knowing, all wise.
Allâh accepts only the repentance of those who do evil in ignorance and foolishness and repent soon afterwards; it is they whom Allâh will forgive and Allâh is Ever All-Knower, All-Wise.