Translation for 4:17

إِنَّمَا ٱلتَّوۡبَةُ عَلَى ٱللَّهِ لِلَّذِينَ يَعۡمَلُونَ ٱلسُّوٓءَ بِجَهَٰلَةٖ ثُمَّ يَتُوبُونَ مِن قَرِيبٖ فَأُوْلَٰٓئِكَ يَتُوبُ ٱللَّهُ عَلَيۡهِمۡۗ وَكَانَ ٱللَّهُ عَلِيمًا حَكِيمٗا ١٧
Allah only accepts the repentance of those who commit evil ignorantly ˹or recklessly˺ then repent soon after1—Allah will pardon them. And Allah is All-Knowing, All-Wise.

Foot notes

76548

 A person’s repentance will be accepted as long as they repent any time before their death. But one should not procrastinate because they do not know when they will die.