The Prophet (SAW) said:

The Prophet (SAW) said:
“The first thing
which will be judged among a persons deeds on the Day of Resurrection is
the prayer. If that is in good order, he will pass the test and
prosper, and if that is defective, he will fail the test and be a
loser.” (Tirmidhi)