Jami` at-Tirmidhi, Book 48, Hadith 168 (Tirmidhi 3621)

Ibn `Umar narrated that the Prophet (ﷺ) said:

“Indeed Allah accepts the repentance of a slave as long as (his soul does not reach his throat).”