"Prophet Muhammad ﷺ said: 'Whatever befalls a Muslim of exhaustion, illness, worry, grief, nuisance or trouble, even though it may be no more than a prick of a thorn, earns him forgiveness by Allah of some of his sins.'"
"Say, 'O My servants who have transgressed against themselves [by sinning], do not despair of the mercy of Allah. Indeed, Allah forgives all sins [If He wills]. Indeed, it is He who is the Forgiving, the Merciful.'"