This hadeeth indicates that steadfastness is according to capability. That is the import of the saying of the Prophet (ﷺ), “Draw close, be steadfast.” Meaning, draw what I order you near and strive to be close
to it according to your abilities.
His saying: “and be steadfast” i.e., that is, stick to the correct thing; that is to say, strive to make your deeds tally with the right thing in the best way possible. Because irrespective of the individual’s level of piety, he would err as is reported in the hadeeth of the Prophet (ﷺ) when he said, “Every child of Adam regularly errs; but the best of the erring people are the most frequently repentant.”(1) And he (ﷺ) said: “Were it not that you err Allah would take you away and replaced you with a people who will err, seek Allah’s forgiveness and He will forgive them.”(2)
So the individual is ordered to draw near and seek perfection as much as he is able to.
Thereafter, he (ﷺ) said: “and keep in mind that none of you can achieve salvation through his (good) actions” i.e., can be saved from the Fire by his good deeds. This is because the deeds can never reach the thanks, His right to be worshipped by the servant both due to Allah - the Mighty and Sublime. But Allah - free is He from all imperfections - covers the servant with His Mercy and forgives him.
When he said: “and keep in mind that none of you can achieve salvation through his (good) actions”, they asked him, “Not even you?!” Even the Prophet (ﷺ), he will not be saved by his good deeds. (He replied), “Except that Allah grants me His Mercy.”
This indicates that irrespective the individual’s rank and friendship (with Allah), he cannot achieve salvation by his deeds including the Prophet (ﷺ), if not that Allah has favoured him by forgiving him his sins, the past and the future, his deeds would not have saved him.
If someone were to say that there are texts from the Qur’aan and Sunnah showing that good deeds save from Hell and admit (the individual) into Paradise such as His saying - the Exalted -:
“Whoever work righteousness - whether male or female- while he (or she) is a true believer verily, to him We will give good life (in this world) and We shall pay them certainly a reward in proportion to the best of what they used to do (i.e. Paradise)”
(Nahl: 97)
How then do we reconcile between this and the previous hadeeth?
The answer is to say: They can be harmonized by saying that, what is rejected is the person entering the Paradise in exchange with his deeds while the fact that good deeds are means is affirmed; not that they are an exchange. Without doubts, deeds are a means of gaining entrance into the Paradise and salvation from Fire. However, it is not an exchange (for Paradise), and it is not the only thing that will make the individual gain the Paradise. Allah's favour and mercy are the two means of entering the Paradise, and they'll both earn him salvation from Hell.
Other benefits in this hadeeth are:
That the individual should not be amused by his deeds; no matter how much you do, your deeds should not beguile you. Your deeds are ever small compared to Allah's rights over you.
Among the points also is: It is necessary for the individual to increase regular remembrance of Allah and asking Allah to cover him with His mercy and favor; do lots of that. You should regularly say, “O Allah, grant me Mercy and Favour from You” because your good deeds can never make you reach Allah's Pleasure except by the mercy of Allah – the Mighty and Sublime.
It also contains evidence for the companion's keenness towards gaining knowledge – may Allah be pleased with them all. Hence, when he said, “and keep in mind that none of you can achieve salvation through his (good) actions” they enquired whether this generality includes him or not? So, he explained to them that it includes him too.
Whoever studies the conditions of the Companions with the Prophet (ﷺ) will discover that they were the most zealous for knowledge; they would not leave anything they needed in the matters of their religion and worldly affairs except that they hastened up and asked him.
Allah alone grants success.