كتاب الإيمان
1  
Faith
(4a)
Chapter: Belief in the Divine Decree - Section 1
(4a)
باب الإيمان بالقدر - الفصل الأول
Mishkat al-Masabih 83
Sahl b. Sa’d reported God’s messenger as saying, “One man does the deeds of those who go to hell but is one of those who go to paradise, and another does the deeds of those who go to paradise but is one of those who go to hell, for judgment is given according to one’s final actions.” (Bukhari and Muslim).
وَعَن سهل بن سَعِيدٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِنَّ الْعَبْدَ لَيَعْمَلُ عَمَلَ أَهْلِ النَّارِ وَإِنَّهُ مِنْ أَهْلِ الْجَنَّةِ وَيَعْمَلُ عَمَلَ أَهْلِ الْجنَّة وَإنَّهُ من أهل النَّار وَإِنَّمَا الْعمَّال بالخواتيم»
Grade: Muttafaqun 'alayh (Zubair `Aliza'i)  مُتَّفق عَلَيْهِ   (الألباني) حكم   :
  متفق عليه   (زبیر علی زئی)
Reference : Mishkat al-Masabih 83
In-book reference : Book 1, Hadith 77