Abu Huraira, may Allah be pleased with him, narrated that he heard the Messenger of Allah, peace and blessings be upon him, saying:--
"NONE OF YOU SHALL BE SAVED BY HIS WORKS". A man said: "NOT EVEN YOURSELF, O MESSENGER OF ALLAH?". He said, "NOT EVEN MYSELF,
UNLESS ALLAH COVERS ME WITH A MERCY FROM HIM. BUT STRIVE TO BE RIGHT". [Sahih Muslim].
This Noble Hadith restates the orthodox Islamic position, to the effect that no one deserves recompense or Paradise (Jannah) for his acts of obedience. Some may quote Qur'anic verses, as in the words of Allah, Most High, such as:--
"ENTER PARADISE FOR THAT WHICH YOU HAVE DONE". (16:32) and "THAT IS PARADISE, WHICH YOU HAVE BEEN BESTOWED FOR WHAT YOU DID BEFORE".(7:43)
and similar verses which indicated that Paradise is entered by virtue of works.
These verses do not contradict above Hadith. Rather, these verses indicate that entering Paradise is because of works... good deeds... but Divinely given success (TAWFIQ) to do the works, and being guided to have SINCERITY in the works and their ACCEPTABILITY are at the Mercy of Allah, Subhanahu Wa Ta'ala.