Sahl ibn Sa’d reported: The Messenger of Allah, peace and blessings be upon him, said, “Verily, the deeds are only judged by their endings.”
Source: Ṣaḥīḥ al-Bukhārī 6607
Grade: Sahih (authentic) according to Al-Bukhari
Imam Ibn al-Mulaqqin commented, “Allah judges His servants in good and evil, such that He forgives unbelief and its deeds by the word of Truth said by the servant at his death before seeing the angels of punishment. Likewise, He nullifies the deeds of the believer if they seal their life with unbelief.”
Source: al-Tawḍīḥ li-Sharḥ al-Jāmi’ al-Ṣaḥīḥ 30/143
عَنْ سَهْلِ بْنِ سَعْدٍ السَّاعِدِيِّ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ إِنَّمَا الأَعْمَالُ بِالْخَوَاتِيمِ
6607 صحيح البخاري كتاب القدر باب العمل بالخواتيم
قال ابن الملقن حكم الله في عباده في الخير والشر فيغفر الكفر وأعماله بكلمة الحق يقولها العبد عند الموت قبل المعاينة لملائكة العذاب وكذلك يحبط عمل المؤمن إذا ختم له بالكفر
30/143 التوضيح لشرح الجامع الصحيح كتاب القدر باب العمل بالخواتيم