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."
Muwatta Malik Book 9, Hadith 98