
The hadith of intentions (Innamal a'malu binniyat) is one of the most foundational narrations in Islamic tradition. It establishes that the value and acceptance of every deed depend on the underlying purpose. Imam al-Bukhari begins his Sahih with this hadith, signaling that intention (niyyah) is the axis around which all acts of worship and daily transactions revolve.
Intention is not merely a mental whisper; it is the soul of action. The Prophet ﷺ linked the outer deed with the inner conviction. A single physical action—like giving charity—can be a mundane transaction or an act of profound devotion, depending on the intention. This hadith refines our consciousness, reminding us that Allah looks at hearts before forms. The scholars explain that intention has two pillars: discernment (knowing what you are doing) and sincerity (doing it solely for Allah). Without these, the deed loses its spiritual weight.
Imam an-Nawawi, in his commentary on Sahih Muslim, highlights that this hadith encompasses one-third of knowledge because it governs the inner state of the believer. It is the criterion that differentiates rituals from hypocrisy, and worship from habit. For instance, performing wudu (ablution) with the intention of purification for prayer is worship; without it, it is merely washing. The same applies to fasting, charity, and even daily work—when coupled with the intention of earning lawful sustenance, it becomes an act of worship.
The genius of the Prophetic guidance is that it elevates the mundane. When a parent works to provide for their family, and their intention is to fulfill the command of Allah and care for their dependents, that work is transformed into worship. Similarly, a teacher who educates with the intention of spreading beneficial knowledge and seeking Allah’s pleasure will be rewarded even if the students' outcomes vary. This hadith dismantles the illusion that spirituality is confined to the mosque; it permeates every corner of life—from business dealings to marital relations, from eating to sleeping—provided the intention is aligned with divine pleasure.
Scholars also emphasize that intention precedes action and that it can be renewed. If a person begins an act with a sound intention but then is distracted, the initial intention carries the reward. Likewise, if one intends to do a good deed but is prevented by a legitimate excuse, they are still rewarded for their intention, as confirmed in another hadith: “Whoever intends to do a good deed but does not do it, a good deed is written for him.” This shows the magnanimity of Allah and the centrality of the heart's resolve.
For parents and educators, this hadith is a cornerstone of character building. Children learn not just by observing actions but by understanding the why behind them. When a parent explains that we pray, give charity, or speak kindly because we love Allah and seek His pleasure, the child internalizes a spiritual framework. The intention becomes the lens through which they view their own actions. This transforms discipline from external obedience to internal devotion.
In Islamic jurisprudence, intention determines the validity of acts of worship. For example, the niyyah for prayer, fasting, and zakat is a prerequisite. But beyond ritual, the hadith influences contracts, oaths, and even judgments. A judge must consider the intent behind a defendant’s actions. The same verbal statement can be a lie, a joke, or a truth depending on what the speaker intended. This is why the Prophet ﷺ said in the same narration: “...and for every person is what he intended.” This principle protects individuals from being judged solely on outward appearances.
Furthermore, this hadith cultivates self-accountability. The believer is encouraged to pause before every action and ask: “Why am I doing this?” This moment of reflection prevents hypocrisy and ingrains sincerity. It also brings tranquility, as the one who acts for Allah knows that the outcome is in His hands. Success is not measured by worldly results but by the purity of the effort.
Imam Ibn al-Qayyim outlined several ways to maintain sincerity: (1) Constant self-checking—renew your intention at the start of every deed; (2) Seeking knowledge—learn the rulings and wisdom behind acts so your intention is informed; (3) Du'a—ask Allah to keep your intentions pure; (4) Repenting—if you notice a corrupt intention, turn to Allah and renew your resolve. These steps are not a one-time event but a lifelong journey.
Parents and teachers play a crucial role in this journey. By creating an environment where intention is discussed openly and without judgment, they nurture a generation that values inner purity over outer show. The hadith of intentions is not just a theological statement; it is a blueprint for spiritual excellence that transforms ordinary lives into extraordinary acts of devotion.
Source: Sahih Muslim, Sahih al-Bukhari • Allamal Quran • +44 7418 352093