How can the statement of the Prophet, peace be upon him, that none enters heaven by reason of his deeds only be explained?

The Prophet, peace be upon him, has explained this by telling us that even if we spend all our lives in worship and glorification of God, we would not be able to thank Him enough for the blessings we enjoy in life. Therefore, no one would have done what is sufficient to merit entry into heaven on the basis of his actions alone. However, God has extended to us the favor that He accepts from us our good work and rewards us for it on the basis of His generosity, multiplying it at least ten times.

So our admittance into heaven is based on His grace and generosity, not on the value of our actions, although it is our actions that determine our destiny.