“Indeed Allah accepts the repentance of a slave as long as (his soul does not reach his throat).”
Jami` at-Tirmidhi Book 48, Hadith 168