And turn in repentance and in obedience with true Faith (Islâmic Monotheism) to your Lord and submit to Him, (in Islâm), before the torment comes upon you, then you will not be helped.
The Noble Qur’an – An-Nisa 4:17-18
Allâh accepts only the repentance of those who do evil in ignorance and foolishness and repent soon afterwards; it is they to whom Allâh will forgive and Allâh is Ever AllKnower, AllWise.
And of no effect is the repentance of those who continue to do evil deeds until death faces one of them and he says: “Now I repent;” nor of those who die while they are disbelievers. For them We have prepared a painful torment.