The salvation of a Muslim depends upon purification of the heart and soul.
Allah said: "He has succeeded who purifies the soul, and he has failed who corrupts the soul." (Qur'an, 91:9-10)
And Allah said: "A day when there will be no benefit in wealth or children, but only in he who comes to Allah with a pure heart." (Qur'an, 26:88-89)
Purification of the heart was one of the first commands with which Moses (peace be upon him) was sent to Pharaoh.
Allah said: "Go to Pharaoh, for verily, he is a transgressor. Say to him: 'Will you purify yourself'?" (Qur'an, 79:17-18) Abraham (peace be upon him).
Allah said: "Verily, among his people was Abraham, when he came to his Lord with a pure heart." (Qur'an, 37:83-84)
One of the primary methods we can use to purify our hearts is to perform sincere supplications and prayers according to the prophetic way (sunnah).
Allah said: "He has succeeded who purifies himself, who remembers the name of his Lord and prays." (Qur'an, 87:14-15)
The ritual prayer is meant to prevent us from committing sins and immoral deeds. Allah said: "Verily, the prayer prohibits immorality and wrongdoing, and the remembrance of Allah is greater." (Qur'an, 29:45)
We can use to purify our hearts is to give in charity and perform good deeds for others. Allah said: "But the righteous one will avoid Hellfire, who gives from his wealth to purify himself." (Qur'an, 92:17-18)
And Allah said: "Take from their wealth a charity by which you cleanse them and purify them, and invoke blessings upon them." (Qur'an, 92:103)
When we give away our wealth in charity, this removes worldliness from our hearts and envy of what others have and it makes us hope for our good deeds stored in the Hereafter. Charity means not only giving wealth, but also giving people your time, your effort, your work, and even a smile or a kind word.
Abu Huraira reported: "The Messenger of Allah (peace be upon him) said: 'Verily, Allah does not look at your appearance or wealth, but rather He looks at your hearts and actions'." (Sahih Muslim 2564)
~ I-AM-PROUD-TO-BE-A-MUSLIM