From the Prophet ﷺ. And Hasan bin Muhammad bin al-Sabbah narrated to us, Affan narrated to us, Hammad narrated to us, Humayd informed us, from al-Hasan, from a man, from Abu Hurairah, and Dawud bin Abu Hind, from Zurara bin Awfa, from Tamim Dari, from the Prophet ﷺ, who said, "The first thing for which a servant will be brought to account on the Day of Resurrection is his prayer. If he has completed it, it will be recorded for him as a voluntary act. If he has not completed it, Allah, glorified be He, will say to His angels, 'Look, do you find for My servant any voluntary prayers?' Then complete with them what he neglected of his obligatory prayer. Then the rest of his deeds will be taken into account in the same manner."
حدثنا أحمد بن سعيد الدارمي حدثنا سليمان بن حرب حدثنا حماد بن سلمة عن داود بن أبي هند عن زرارة بن أوفى
عن النبي ﷺ ح و حدثنا الحسن بن محمد بن الصباح حدثنا عفان حدثنا حماد أنبأنا حميد عن الحسن عن رجل عن أبي هريرة وداود بن أبي هند عن زرارة بن أوفى عن تميم الداري عن النبي ﷺ قال أول ما يحاسب به العبد يوم القيامة صلاته فإن أكملها كتبت له نافلة فإن لم يكن أكملها قال الله سبحانه لملائكته انظروا هل تجدون لعبدي من تطوع فأكملوا بها ما ضيع من فريضته ثم تؤخذ الأعمال على حسب ذلك
Sourcing, [its chain of transmission is sahih] Abu Dawud narrated it in the Book of Prayer, in the preceding chapter, no. 866, through the hadith of Hammad, and Hakim graded it sahih according to the criterion of Muslim, and it has a corroborating witness narration in Ahmad with a hasan chain of transmission.