It was narrated that Anas bin Hakim Dabbi said:
“Abu Hurairah said to me: ‘When you go to your country, tell them that I heard the Messenger of Allah (ﷺ) say: “The first thing for which the Muslim will be brought to account on the Day of Resurrection will be the prescribed prayers. If they are complete, all well and good, otherwise it will be said: ‘Look and see whether he has any voluntary prayers.’ If he has any voluntary prayers, his prescribed prayers will be completed from his voluntary prayers. Then the same will be done with regard to all his obligatory deeds.”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَمُحَمَّدُ بْنُ بَشَّارٍ، قَالاَ حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، عَنْ سُفْيَانَ بْنِ حُسَيْنٍ، عَنْ عَلِيِّ بْنِ زَيْدٍ، عَنْ أَنَسِ بْنِ حَكِيمٍ الضَّبِّيِّ، قَالَ قَالَ لِي أَبُو هُرَيْرَةَ إِذَا أَتَيْتَ أَهْلَ مِصْرِكَ فَأَخْبِرْهُمْ أَنِّي، سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏ "‏ إِنَّ أَوَّلَ مَا يُحَاسَبُ بِهِ الْعَبْدُ الْمُسْلِمُ يَوْمَ الْقِيَامَةِ الصَّلاَةُ الْمَكْتُوبَةُ فَإِنْ أَتَمَّهَا وَإِلاَّ قِيلَ انْظُرُوا هَلْ لَهُ مِنْ تَطَوُّعٍ فَإِنْ كَانَ لَهُ تَطَوُّعٌ أُكْمِلَتِ الْفَرِيضَةُ مِنْ تَطَوُّعِهِ ثُمَّ يُفْعَلُ بِسَائِرِ الأَعْمَالِ الْمَفْرُوضَةِ مِثْلُ ذَلِكَ ‏"‏ ‏.‏
GradeDa’if (Darussalam)
English reference : Vol. 1, Book 5, Hadith 1425
Arabic reference : Book 5, Hadith 1491