Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
malik:9-98Mālik > Yaḥyá b. Saʿīd > Balaghanī

Yahya related to me from Malik that Yahya ibn Said said, "I have heard that the first of the actions of a slave to be considered on the day of rising is the prayer. If it is accepted from him, the rest of his actions will be considered, and if it is not accepted from him, none of his actions will be considered."  

مالك:٩-٩٨وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ يَحْيَى بْنِ سَعِيدٍ أَنَّهُ قَالَ بَلَغَنِي

أَنَّ أَوَّلَ مَا يُنْظَرُ فِيهِ مِنْ عَمَلِ الْعَبْدِ الصَّلاَةُ فَإِنْ قُبِلَتْ مِنْهُ نُظِرَ فِيمَا بَقِيَ مِنْ عَمَلِهِ وَإِنْ لَمْ تُقْبَلْ مِنْهُ لَمْ يُنْظَرْ فِي شَىْءٍ مِنْ عَمَلِهِ