Hadith
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ يَحْيَى بْنِ سَعِيدٍ، أَنَّهُ قَالَ بَلَغَنِي أَنَّ أَوَّلَ، مَا يُنْظَرُ فِيهِ مِنْ عَمَلِ الْعَبْدِ الصَّلاَةُ فَإِنْ قُبِلَتْ مِنْهُ نُظِرَ فِيمَا بَقِيَ مِنْ عَمَلِهِ وَإِنْ لَمْ تُقْبَلْ مِنْهُ لَمْ يُنْظَرْ فِي شَىْءٍ مِنْ عَمَلِهِ .
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
Da'if · Salim al-Hilali
Muwatta Malik 421 ·Book 9, Hadith 96·Also available on sunnah.com·