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.
“And He it is Who accepts repentance from His slaves, and forgives sins, and He knows what you do”
[al-Shoora 42:25]
“Know they not that Allaah accepts repentance from His slaves and takes the Sadaqaat (alms, charity), and that Allaah Alone is the One Who forgives and accepts repentance, Most Merciful?”
[al-Tawbah 9:104]And whosoever keepeth his duty to Allah, Allah will appoint a way out for him. And He provides for him from (sources) he never could imagine. And if any one puts his trust in Allah, Allah will be sufficient for him.
[65. Surah At-Talaq : Ayah 2-3]
"And do not despair or be sad, as you are the most superior so long as you are believers. If a disaster befalls you, be sure that a disaster has likewise befallen them. And such are the days, we rotate them between the people..."