It is narrated from Sayyiduna Ubadah bin Samit (may Allah be pleased with him) that indeed the Prophet of Allah (peace and blessings be upon him) said: "Surely Allah accepts His servant's repentance until the time when the rattling (of the throat) begins (i.e., until the state of death overtakes him)."
Hadith Referenceمسند الشهاب / 1085
Hadith Gradingمحدثین:إسناده ضعیف
Hadith Takhrijإسناده ضعیف، قتادہ مدلس کا عنعنہ ہے ۔