He feared Ziyad, or Ibn Ziyad, so he came to Madinah and met Abu Hurayrah. He asked about my lineage, and I told him my lineage. Then he said, "Young man, shall I tell you a hadith?"I said, "Yes, may Allah have mercy on you."Yunus said, I believe he traced it back to the Prophet ﷺ, who said, "The first of their deeds for which people will be called to account on the Day of Resurrection is the prayer. Our Lord, mighty and majestic, will say to His angels, though He knows best, 'Look at My servant's prayer. Did he complete it or fall short?' If it is complete, it will be recorded as complete. If something was lacking from it, He will say, 'Look, does My servant have any voluntary prayers?' If he has voluntary prayers, He will say, 'Complete My servant's obligatory prayer from his voluntary prayers.' Then the rest of the deeds will be taken in the same manner."
حدثنا يعقوب بن إبراهيم حدثنا إسمعيل حدثنا يونس عن الحسن
خاف من زياد أو ابن زياد فأتى المدينة فلقي أبا هريرة قال فنسبني فانتسبت له فقال يا فتى ألا أحدثك حديثا قال قلت بلى رحمك الله قال يونس وأحسبه ذكره عن النبي ﷺ قال إن أول ما يحاسب الناس به يوم القيامة من أعمالهم الصلاة قال يقول ربنا جل وعز لملائكته وهو أعلم انظروا في صلاة عبدي أتمها أم نقصها فإن كانت تامة كتبت له تامة وإن كان انتقص منها شيئا قال انظروا هل لعبدي من تطوع فإن كان له تطوع قال أتموا لعبدي فريضته من تطوعه ثم تؤخذ الأعمال على ذاكم
Its chain is daif. Ahmad narrated it, 2/425, from the hadith of Ismail, with the same wording. Ibn Majah also narrated it, 1425, and Hakim graded it sahih, 1/262, and Dhahabi agreed with him. The hadith has corroborating narrations.Hasan Basri is a mudallis and narrated it with an ambiguous form of transmission (an'ana), and Ali bin Zayd followed him in narrating it, but he is daif. The following hadith, 866, suffices in its place.