To be accepted, repentance requires giving up the sin and making amends, and Allah alone accepts repentance and forgives sins. These verses also speak of turning back to Allah in repentance (inabah), the command to repent joined to seeking forgiveness, sin committed in ignorance, and repentance that is no longer accepted at the moment of death.
Verses gathered from a topical index of the Quran, in Mushaf order; every verse is quoted in full.
And those who disbelieved say, "Why has a sign not been sent down to him from his Lord?" Say, [O Muḥammad], "Indeed, Allāh leaves astray whom He wills and guides to Himself whoever turns back [to Him] -
But if they endeavor to make you associate with Me that of which you have no knowledge, do not obey them but accompany them in [this] world with appropriate kindness and follow the way of those who turn back to Me [in repentance]. Then to Me will be your return, and I will inform you about what you used to do.