حَدَّثَنَا أَحْمَدُ بْنُ إِبْرَاهِيمَ النُّكْرِيُّ ، قَالَ : حَدَّثَنَا أَبُو دَاوُدَ ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ ثَابِتِ بْنِ ثَوْبَانَ ، أَخْبَرَنِي أَبِي ، عَنْ مَكْحُولٍ ، عَنْ جُبَيْرِ بْنِ نُفَيْرٍ ، عَنِ ابْنِ عُمَرَ : أَنَّ رَسُولَ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - ، قَالَ : إِنَّ اللهَ يَقْبَلُ تَوْبَةَ عَبْدِهِ مَا لَمْ يُغَرْغِرْ .
It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Indeed, Allah, the Mighty and Majestic, accepts the repentance of His servant as long as he has not reached the throes of death (the death rattle)."