It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "The first thing for which the servant will be held to account (on the Day of Resurrection) is his prayer. Allah, the Blessed and Exalted, will say to the angels: Look at the prayer of My servant. If the angels find it complete, it will be recorded for him as complete; and if something is found lacking in his prayer, Allah Almighty will say: Look, does My servant have any voluntary prayers? So his (obligatory) prayer will be completed by means of his voluntary prayers. Then the other deeds will also be examined in the same proportion." Imam al-Harith narrated this hadith with these or similar words.
Imam Abu Ya'la narrated this hadith with the same chain in more detail, and at its beginning are these words: "Indeed, the first thing that Allah Almighty made obligatory on people from the matters of their religion is the prayer, and the last thing that will remain (of the religion) is also the prayer, and the first thing for which they will be held to account is also the prayer. Allah Almighty will say: Look at the prayer of My servant." Then the narrator mentioned the whole hadith until he said: "So if he has voluntary prayers, the obligatory prayer will be completed by those voluntary prayers." Then he (peace and blessings be upon him) said: "Look, is his zakah complete? If his zakah is found complete, it will be recorded as complete; and if it turns out deficient, Allah Almighty will say: Look, does he have any voluntary charity? If he has charity, his zakah will be completed by that voluntary charity."
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الصلاة / 215
Hadith Gradingمحدثین:إسناده حسن
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :حسن لغيره. » «أخرجه سنن النسائي برقم: 466، وأخرجه سنن ابن ماجه برقم: 1425، 1426، وأخرجه مسند أحمد برقم: 9210، وأخرجه فتح الباري برقم: 6168، 6471، وأخرجه المستدرك على الصحيحين برقم: 1004، وأخرجه المعجم الأوسط للطبراني برقم: 2220، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 1597، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 770»