Resolve for an act (hamm)

الهم بالعمل

The hamm in the thirty-seventh hadith of the Forty — the heart's resolve upon an act before doing it — is the measure by which deeds are written with God: 'whoever resolves on a good deed and does not do it, God writes it down as a complete good deed; if he resolves and does it, ten good deeds to seven hundred times over and more; if he resolves on an evil deed and does not do it, He writes it down as a complete good deed; and if he resolves and does it, God writes it down as a single evil deed' — so resolve for good is rewarded even without the act, resolve for evil is unpunished and counts as good when left for God's sake, and no evil deed is written except upon doing; resolve outranks a passing thought as a settled purpose approaching firm intention (Jami' al-Ulum wal-Hikam pp. 754–755).

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Era
The Prophetic Era
Region
Global / Diaspora

Spirituality and Sufism

Overview

Hamm is the resolve of the heart to act before the act is done. Ibn Rajab explains it in the thirty-seventh hadith of the Forty, and it is connected to the chapter on intention. 1

The four cases

The hadith mentions four cases. Whoever resolves on a good deed but does not do it, God writes for him a full good deed. If he does it, ten good deeds are written for him, up to seven hundred times, to many times more. Whoever resolves on an evil deed but does not do it, God writes for him a full good deed. If he does it, one evil deed is written. 1

Ibn Rajab's commentary

One is rewarded for resolving on a good deed even if the act does not take place. Resolving on an evil deed is not punished; rather a good deed is written if one leaves it for God's sake, and an evil deed is written only when it is done. He explains that the merit of resolve over a mere passing thought is that it is a settled purpose resembling a firm will. 1

Connections

Explore the connections

Related to
The angels say: My Lord, that is Your servant who intends an evil deed — You know him best· The good deeds (al-hasanat)
Subject of
Mudhakkirat Iblis (Memoirs of Iblis) programme
Based on
Arba'un 37 — God wrote the good deeds and the evil deeds
Part of
Niyya (intention in deeds)

People and things also explored

Abdullah ibn Abbas· The angels say: My Lord, that is Your servant who intends an evil deed — You know him best· Righteousness (birr)· Remembrance of God (dhikr)· Taqwa (God-consciousness)· Sacred hadith (hadith qudsi)· Seeking forgiveness (istighfar)· Charity (sadaqa)

Sources

  1. Jami' al-Ulum wal-Hikam — Ibn Rajab al-Hanbali , p.754-755
Cite this page

islam.museum contributors. “Resolve for an act (hamm)”. islam.museum, https://islam.museum/en/concept/hamm/. CC BY-SA 4.0. Last updated 2026-11-22.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

Ideas

Beliefs, concepts, sciences and schools, explained in plain words.
Related

Abdullah ibn Abbas

The Prophet's young cousin, born three years before the Hijra, who became the tradition's founding authority on the interpretation of the Qur'an and was nicknamed al-Hibr and al-Bahr. The Encyclopaedia of Islam reports that he gave weekly classes on exegesis, judicial questions, expeditions and ancient poetry, accompanied several military campaigns, commanded a wing of Ali's army at the Camel and Siffin, governed Basra before withdrawing to Mecca, and died at al-Ta'if in 68 AH.