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 deed for which the servant will be brought to account on the Day of Resurrection is the prayer; if it is sound, then all the rest of his deeds will be deemed sound, and if it turns out corrupt (deficient), then all the rest of his deeds will be deemed corrupt."
Hadith Referenceالمعجم الأوسط / باب الألف / 1859
Hadith Gradingمحدثین:فيه القاسم بن عثمان البصري، له أحاديث لا يتابع عليها
Hadith Takhrij«قال الهيثمي: فيه القاسم بن عثمان قال البخاري له أحاديث لا يتابع عليها وذكره ابن حبان في الثقات وقال ربما أخطأ «مجمع الزوائد ومنبع الفوائد، ج 1، ص 292»» «أخرجه الضياء المقدسي فى «الأحاديث المختارة» برقم: 2578، 2579، وأبو يعلى فى «مسنده» برقم: 3976، 4124، وابن حجر فى «المطالب العالية» برقم: 215 / 1، 215 / 2، والطبراني فى «الأوسط» برقم: 3782»