Jami` at-Tirmidhi Book 48, Hadith 169
“Allah is more delighted with the repentance of one of you, than one of you is, when finding his lost animal.”
“Indeed Allah accepts the repentance of a slave as long as (his soul does not reach his throat).”
when death reached him, he said: “I have concealed something I heard from the Messenger of Allah (ﷺ) from you. I heard the Messenger of Allah (ﷺ) saying: ‘If you did not sin, Allah would create a creation that would sin, so He will forgive them.’”