قال رسول الله صلى الله عليه وسلم تقبل توبة العبد ما لم يغرغر أخرجه الترمذي وابن الماجه
The Prophet [صلى الله عليه وسلم] said: “The slave’s repentance is accepted until he gives the death rattle.” Transmitted to us by the authority of al-Tirmidhi and Ibn Majah.
Imam al-Ghazali relates to us from the Revival of the Religious Sciences, Ihya’ Ulum al-Din, from the book: The Remembrance of Death and The Afterlife, by which he conveys for us the nature of a dying man: He peers out on the world and its people for one last time while the door of repentance is closed for good. In doing so, he is overcome with sorrow and remorse.