Mishkat al-Masabih 1330
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: إِنَّ أَوَّلَ مَا يُحَاسَبُ بِهِ الْعَبْدُ يَوْمَ الْقِيَامَةِ مِنْ عمله صلَاته فَإِن صلحت فقد أَفْلح وأنجح وَإِنْ فَسَدَتْ فَقَدْ خَابَ وَخَسِرَ فَإِنِ انْتَقَصَ مِنْ فَرِيضَتِهِ شَيْءٌ قَالَ الرَّبُّ تَبَارَكَ وَتَعَالَى: نظرُوا هَلْ لِعَبْدِي مِنْ تَطَوُّعٍ؟ فَيُكَمَّلُ بِهَا مَا انْتَقَصَ مِنَ الْفَرِيضَةِ ثُمَّ يَكُونُ سَائِرُ عَمَلِهِ عَلَى ذَلِكَ . وَفِي رِوَايَةٍ: «ثُمَّ الزَّكَاةُ مِثْلَ ذَلِك ثمَّ تُؤْخَذ الْأَعْمَال حسب ذَلِك» . رَوَاهُ أَبُو دَاوُد
From Abu Hurayrah, who said: I heard the Messenger of Allah ﷺ say: "The first of his deeds for which the servant will be brought to account on the Day of Resurrection is his salah. If it is sound, he has prospered and succeeded; and if it is corrupt, he has failed and lost. If anything is lacking from his obligatory [prayers], the Lord, Blessed and Exalted, will say: 'Look: does My servant have any voluntary [prayers]?' Then what is lacking from the obligatory will be completed with it, and then the rest of his deeds will be treated in the same way." And in a narration: "Then zakah likewise, then the deeds will be taken according to that." Reported by Abu Dawud.