حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، وَوَكِيعٌ، ح وَحَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ، اللَّهِ بْنِ نُمَيْرٍ الْهَمْدَانِيُّ - وَاللَّفْظُ لَهُ - حَدَّثَنَا أَبِي وَأَبُو مُعَاوِيَةَ وَوَكِيعٌ قَالُوا حَدَّثَنَا الأَعْمَشُ، عَنْ زَيْدِ بْنِ وَهْبٍ، عَنْ عَبْدِ اللَّهِ، قَالَ حَدَّثَنَا رَسُولُ اللَّهِ صلى الله عليه وسلم وَهُوَ الصَّادِقُ الْمَصْدُوقُ ‏"‏ إِنَّ أَحَدَكُمْ يُجْمَعُ خَلْقُهُ فِي بَطْنِ أُمِّهِ أَرْبَعِينَ يَوْمًا ثُمَّ يَكُونُ فِي ذَلِكَ عَلَقَةً مِثْلَ ذَلِكَ ثُمَّ يَكُونُ فِي ذَلِكَ مُضْغَةً مِثْلَ ذَلِكَ ثُمَّ يُرْسَلُ الْمَلَكُ فَيَنْفُخُ فِيهِ الرُّوحَ وَيُؤْمَرُ بِأَرْبَعِ كَلِمَاتٍ بِكَتْبِ رِزْقِهِ وَأَجَلِهِ وَعَمَلِهِ وَشَقِيٌّ أَوْ سَعِيدٌ فَوَالَّذِي لاَ إِلَهَ غَيْرُهُ إِنَّ أَحَدَكُمْ لَيَعْمَلُ بِعَمَلِ أَهْلِ الْجَنَّةِ حَتَّى مَا يَكُونَ بَيْنَهُ وَبَيْنَهَا إِلاَّ ذِرَاعٌ فَيَسْبِقُ عَلَيْهِ الْكِتَابُ فَيَعْمَلُ بِعَمَلِ أَهْلِ النَّارِ فَيَدْخُلُهَا وَإِنَّ أَحَدَكُمْ لَيَعْمَلُ بِعَمَلِ أَهْلِ النَّارِ حَتَّى مَا يَكُونَ بَيْنَهُ وَبَيْنَهَا إِلاَّ ذِرَاعٌ فَيَسْبِقُ عَلَيْهِ الْكِتَابُ فَيَعْمَلُ بِعَمَلِ أَهْلِ الْجَنَّةِ فَيَدْخُلُهَا ‏"‏ ‏.‏
Translation
Abu Huraira reported Allah's Messenger (ﷺ) as saying

Verily, a man would perform the deeds of the people of Paradise for a long time, then his deeds would be concluded with the deeds of the people of Hell. And verily, a man would perform the deeds of the people of Hell for a long time, and then his deeds would be concluded with the deeds of the people of Paradise.

Comment

The Book of Destiny - Sahih Muslim 2651

This commentary examines the profound hadith concerning the finality of deeds and divine decree from Imam Muslim's authentic collection.

The Reality of Concluding Deeds

This narration reveals the profound wisdom that a person's ultimate destination is determined by their final deeds, not merely the accumulation of actions over time. The scholars explain that this demonstrates Allah's infinite mercy and justice.

Ibn Hajar al-Asqalani comments that this hadith shows how Allah's knowledge encompasses all possibilities, and how He grants success to whom He wills at the moment of death with righteous ending (husn al-khatimah) or permits others to fall into evil ending (su' al-khatimah).

Divine Wisdom in Apparent Contradictions

Al-Nawawi explains in his Sharh Sahih Muslim that this teaching serves multiple purposes: it instills continuous hope for sinners and caution for the righteous, preventing despair and complacency respectively.

The apparent contradiction between lifelong patterns and final outcomes reflects the ultimate manifestation of divine qadr (decree), where Allah's will transcends human expectations and calculations.

Practical Implications for Believers

Classical scholars emphasize that this hadith should motivate believers to consistently seek Allah's protection against evil endings and to persevere in good deeds until death.

Ibn Rajab al-Hanbali notes that the "concluding deeds" refer to what a person dies upon, not necessarily their very last action, but the state of their heart and commitment at life's end.

This understanding should inspire constant vigilance, sincere repentance, and dependence on Allah's mercy rather than relying on one's past achievements.