You purify your heart in Islam (tazkiyah) by naming each disease honestly, cutting off what feeds it, and replacing it with the virtue that heals it, through repentance, remembrance of Allah and small, repeated acts. The Qur'an makes it the measure of success: "he has succeeded who purifies it, and he has failed who corrupts it" (ash-Shams 91:9-10).
Chapter 4 of Being Muslim, on spiritual refinement, gives one of the clearest beginner's maps of this work. We have chapter notes on it. Here is that map, checked against the Qur'an, Sunnah and classical scholars.
Why the heart matters most
The Prophet ﷺ said: "There is a piece of flesh in the body: if it is sound, the whole body is sound, and if it is corrupt, the whole body is corrupt. Truly, it is the heart" (Sahih al-Bukhari 52; Sahih Muslim 1599). He also said that Allah does not look at your forms or your wealth, but at your hearts and your deeds (Sahih Muslim 2564). On the Day of Judgement, "neither wealth nor children will benefit, only one who comes to Allah with a sound heart (qalbun salim)" (ash-Shu'ara 26:88-89).
This inner work is what the hadith of Jibril calls ihsan: "that you worship Allah as if you see Him, for though you do not see Him, He sees you" (Sahih Muslim 8).
Where we start: fitrah, the nafs and the heart
No original sin. Islam teaches that we are born with a fitrah, a nature that leans towards the good. Allah "inspired the soul with its wickedness and its righteousness" (91:8), so purification is recovery, not reinvention.
Three players. The nafs (ego) wants its appetites. Reason is meant to lead it. The heart is where they meet and where the decision is made. Al-Ghazali opens the third volume of his Ihya' 'Ulum ad-Din with exactly this, in the book on the marvels of the heart, before turning to the diseases themselves.
The balanced middle. Refinement does not mean killing a trait but bringing it to its middle. Anger is the classic example: in excess it destroys, yet a believer who feels nothing at injustice has lost something too.
Seven doors. Everything reaches the heart through the tongue, eyes, ears, hands, feet, stomach and private parts. Guarding these doors is how the outward law shapes the inner self. Al-Ghazali gives a whole book to "breaking the two desires" of stomach and private parts.
The diseases of the heart: sign, root and a cure for this week
Rage. Sign: you say things you would never say calm. Root: pride wounded. Cure: when a man asked for advice again and again, the Prophet ﷺ answered each time, "Do not become angry" (Sahih al-Bukhari 6116), and said the strong one is "the one who controls himself while in anger" (Sahih al-Bukhari 6114). This week, when it rises, seek refuge in Allah from Shaytan (Sahih al-Bukhari 3282) and sit down, or lie down if it persists (Sunan Abi Dawud 4782, graded sahih by al-Albani). Keep du'as for anger on your phone.
Envy (hasad). Sign: someone else's blessing feels like your loss. Root: forgetting that Allah's provision is not a fixed pie. Cure: "None of you truly believes until he loves for his brother what he loves for himself" (Sahih al-Bukhari 13). Each time envy stirs, make du'a for that person by name, out loud if you can. "Do not envy one another," he ﷺ said (Sahih al-Bukhari 6064; Sahih Muslim 2563).
Suspicion. Sign: you read the worst into people's words. Root: projecting your own faults. Cure: "Avoid much assumption; some assumption is sin. And do not spy or backbite" (al-Hujurat 49:12), and "beware of suspicion, for suspicion is the most false of speech" (Sahih al-Bukhari 6064). Look for an excuse before an accusation, and when you catch a bad thought, keep it behind the tongue door.
Arrogance and vanity. Sign: you cannot take correction. Root: thinking your gifts are your own. Cure: study the Prophet's ﷺ humility and manners and do one small task this week that nobody will credit you for.
Showing off (riya'). Sign: worship feels heavier when no one is watching. Root: craving people's praise. Cure: in a hadith qudsi, Allah says He is free of need of any partner, and whoever does a deed for Him and someone else, He leaves him with that partner (Sahih Muslim 2985). Keep one good deed this week completely secret. Imam al-Mawlud's poem Matharat al-Qulub, translated by Hamza Yusuf (who wrote Being Muslim's foreword) as Purification of the Heart, treats each of these diseases this way.
Heedlessness and avoiding the thought of death. Sign: weeks pass with no thought of meeting Allah. Root: the race for more. Cure: "Remember often the destroyer of pleasures," meaning death (Jami' at-Tirmidhi 2307, graded hasan sahih gharib by at-Tirmidhi and hasan sahih by al-Albani). Read the mind maps of at-Takathur and al-'Asr.
The virtues that heal
The chapter also covers seven virtues: repentance, taqwa, detachment, hope balanced with fear, tawakkul, gratitude and contentment. Three of them come with direct promises:
- Remembrance: "By the remembrance of Allah hearts find rest" (ar-Ra'd 13:28), and "remember Me; I will remember you" (al-Baqarah 2:152). For a hard heart, start with the morning and evening adhkar.
- Gratitude: "If you are grateful, I will surely increase you" (Ibrahim 14:7). Name three blessings before you sleep.
- Tawakkul: "Whoever relies upon Allah, He is sufficient for him" (at-Talaq 65:3).
Where a struggle feels clinical rather than spiritual, read mental health in Islam too; tazkiyah does not replace proper care.
A note on two sayings about character
The Prophet ﷺ said, "I was sent only to perfect good character" (Musnad Ahmad 8952, graded sahih with a strong chain by the Darussalam editors and sahih by al-Albani; Imam Malik reports it without a chain in al-Muwatta', and scholars accept it through its supporting routes). By contrast, the popular line "My Lord taught me manners and perfected my manners" has no established chain, as Ibn Taymiyyah noted and our book notes flag. Its meaning is true; the wording is not a sound hadith.
Close with tawbah: four steps
Every cure ends where our chapter notes do, with repentance:
- Remorse for what you did.
- Stopping it now.
- Resolving not to return.
- Putting it right if someone else was harmed.
If you fall again, return again: I keep relapsing and My iman is gone are written for that place, and istighfar gives you the words. The goal is the purpose of life itself: to meet Allah with a sound heart.