حَدَّثَنَا يَعْقُوبُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا إِسْمَاعِيلُ، حَدَّثَنَا يُونُسُ، عَنِ الْحَسَنِ، عَنْ أَنَسِ بْنِ حَكِيمٍ الضَّبِّيِّ، قَالَ خَافَ مِنْ زِيَادٍ أَوِ ابْنِ زِيَادٍ فَأَتَى الْمَدِينَةَ فَلَقِيَ أَبَا هُرَيْرَةَ قَالَ فَنَسَبَنِي فَانْتَسَبْتُ لَهُ فَقَالَ يَا فَتَى أَلاَ أُحَدِّثُكَ حَدِيثًا قَالَ قُلْتُ بَلَى رَحِمَكَ اللَّهُ ‏.‏ قَالَ يُونُسُ أَحْسِبُهُ ذَكَرَهُ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏إِنَّ أَوَّلَ مَا يُحَاسَبُ النَّاسُ بِهِ يَوْمَ الْقِيَامَةِ مِنْ أَعْمَالِهِمُ الصَّلاَةُ قَالَ يَقُولُ رَبُّنَا جَلَّ وَعَزَّ لِمَلاَئِكَتِهِ وَهُوَ أَعْلَمُ انْظُرُوا فِي صَلاَةِ عَبْدِي أَتَمَّهَا أَمْ نَقَصَهَا فَإِنْ كَانَتْ تَامَّةً كُتِبَتْ لَهُ تَامَّةً وَإِنْ كَانَ انْتَقَصَ مِنْهَا شَيْئًا قَالَ انْظُرُوا هَلْ لِعَبْدِي مِنْ تَطَوُّعٍ فَإِنْ كَانَ لَهُ تَطَوُّعٌ قَالَ أَتِمُّوا لِعَبْدِي فَرِيضَتَهُ مِنْ تَطَوُّعِهِ ثُمَّ تُؤْخَذُ الأَعْمَالُ عَلَى ذَاكُمْ ‏"‏ ‏.‏
Translation
Narrated AbuHurayrah

Anas ibn Hakim ad-Dabbi said: He feared Ziyad, or Ibn Ziyad, so he came to Medina and met Abu Hurayrah. He asked about my lineage and I told him my lineage. He said: O young man, shall I not narrate a hadith to you? I said: Yes, may Allah have mercy upon you.

Yunus said: I think he mentioned it from the Prophet (ﷺ), who said: "Indeed, the first of what the people will be called to account for on the Day of Resurrection among their deeds is the prayer. Our Lord, Majestic and Exalted is He, will say to His angels - while He is most knowing: 'Look into the prayer of My servant, whether he completed it or fell short in it.' If it is complete, it is recorded for him as complete. And if there is any deficiency in it, He will say: 'Look to see if my servant has any voluntary prayers.' If he has voluntary prayers, He will say: 'Complete the obligatory prayer of My servant from his voluntary prayers.' Then the deeds shall be taken in that manner."