The Foundation of Islamic Action
“Innama al-a’mal bi-l-niyyat wa innama li-kulli imri’in ma nawa.” (Actions are only by intentions, and every person will have only what they intended.) — Hadith narrated by ‘Umar ibn al-Khattab (RA), agreed upon by Bukhari and Muslim
This hadith is considered by classical scholars one of the most encompassing statements in the entire hadith corpus. Imam al-Shafi’i said: “This hadith is one-third of all knowledge.” Imam Ahmad ibn Hanbal said: “The foundations of Islam rest on three hadiths, and this is one of them.”
Why? Because the hadith establishes that the spiritual reality of any act is determined by the niyyah (intention) — not the outward performance. Two people may perform exactly the same physical act; if their intentions differ, the acts are spiritually different.
What Niyyah Means
Niyyah (from the root nawa — to intend, to head toward) is the inner determination of the will. It is:
- Internal: niyyah is in the heart, not on the tongue (speaking niyyah aloud is a recommended practice in some schools but not itself the niyyah)
- Directed: niyyah specifies the act (I am praying Fajr) and the One for whom (for Allah alone)
- Present: niyyah should coincide with the beginning of the act
The full niyyah for an act includes:
- The identity of the act (what it is)
- The specific type (e.g., obligatory, voluntary)
- The direction: li-wajhi Allah (for the face/sake of Allah) or li-l-taqarrub ila Allah (to draw near to Allah)
The Transformative Power of Niyyah
Ordinary becomes worship: When a person works for their family with the niyyah of fulfilling the obligation of nafaqa (financial support), the labor becomes an act of worship. Eating with the niyyah of maintaining the body for worship transforms eating into worship. The Prophet (SAW) said: “Indeed, whatever you spend seeking the face of Allah, you will be rewarded for it — even for what you put in your wife’s mouth.” (Bukhari)
Worship without niyyah is form without soul: Salah performed without niyyah — mere physical movements — is not counted as prayer. Fasting without niyyah is mere hunger. The outward act requires the inward intention to constitute the Islamic religious act.
The reward of completed intention: The Prophet (SAW) said: “If a person intends to do a good deed and then does not do it, Allah writes for him one good deed.” (Muslim) The intention itself carries value — even unfulfilled, the directed will toward good is rewarded. And if they complete the act: from ten to seven hundred times (the multiply-reward hadith), or “without limit” (2:261 for charity).
The danger of wrong niyyah: Riya’ (showing off, doing acts for the praise of people) is called the “lesser shirk” in hadith — because it associates a created being (the observer, the one whose approval is sought) with Allah in the motivation of the act. An act done for Allah AND for others’ praise is divided; an act done primarily for others’ praise may have no spiritual value regardless of its outward excellence.
“Whoever does a good deed hoping for Allah’s reward and people’s praise — Allah says: ‘Take your reward from those you wanted to please.’” (Hadith)
Niyyah in the Ismaili Teaching
In the Ismaili-Tayyibi framework, niyyah is understood as the batin of the zahir. Every zahir act of worship has an inner dimension without which it is only form:
- The zahir of wudu is the washing of specific body parts; the batin is the purification of the heart’s intention, the washing away of the attachments that distract from divine presence
- The zahir of salah is the specific postures and recitations; the batin is the niyyah of taqarrub ila Allah (drawing near to Allah) that gives the prayer its ascendant quality
- The zahir of fasting is the abstinence from food and drink; the batin is the niyyah of tafakkur (reflection) and taqwa (divine consciousness) that makes the abstinence transformative
- The zahir of sadaqa is the giving; the batin is the niyyah of pure generosity (ibtigha’ mardatillah — seeking Allah’s pleasure) that separates charity from strategic philanthropy
The Imam’s teaching on walayah is precisely this: the zahir acts of the shari’ah only carry their full spiritual weight when their niyyah is aligned with walayah — with the recognition that these acts are performed in the context of, and in the service of, the relationship with the Imam of the era. This is not a theological claim that external niyyah is invalid but that the fullest niyyah includes the recognition of the living channel of divine guidance.
See also: Understanding Walayah, Tawil Esoteric Interpretation
Niyyah in Practice
Before Salah
The niyyah for each prayer should be made at the beginning of the takbir — the Allahu Akbar that opens the prayer. The niyyah includes: which prayer (Fajr, Zuhr, Asr, etc.), whether it is obligatory (fard) or voluntary (nafl), and the conscious turning toward Allah alone.
In the Bohra tradition, the niyyah before prayer is accompanied by the specific salutation formulae and may be accompanied by reciting the niyyah aloud as a verbal declaration, though the internal determination is what matters.
Before Other Acts
Before eating: “Bismillah” — the Basmala is itself a niyyah in compressed form: I begin this act in the name of Allah.
Before any act of worship: the specific intention to perform this act for Allah alone, seeking His pleasure and nearness, following the guidance of the Prophet (SAW) and the Imam.
Before sleep: “Allahumma bika amutu wa bika ahya” (with Your name I die and with Your name I live) — the niyyah to submit even the unconscious hours to divine care.
Before du’a: the recognition that the du’a is addressed to Allah alone, that the speaker is in a state of neediness before divine generosity.
The Niyyah of the Whole Life
The highest form of niyyah is what the tradition calls niyyat al-hayah — the intention of the entire life. Some scholars describe this as the moment of tawba (repentance) and commitment — when a person makes an overarching intention: my life is oriented toward Allah and His pleasure. Every subsequent act that proceeds from this overarching intention carries the niyyah of the whole, even without a specific new intention before each act.
This overarching niyyah is the closest Islamic concept to what the Ismaili tradition calls the ‘ahd (covenant) with the Imam — the moment of taking or renewing the misaq, in which the mumin orients their entire existence toward the divine through the Imam’s walayah. Every subsequent act flows from that overarching orientation.
Ta’wil of Niyyah
The zahir of niyyah is the specific declaration of intent before a religious act.
The batin of niyyah is the soul’s fundamental orientation — whether the axis of a person’s life is themselves (the ego, the nafs) or Allah (the divine source). The riya’ (showing off) that the hadith calls “lesser shirk” is the partial or full substitution of the ego’s desires for divine pleasure as the axis of action.
The niyyah is thus not a pre-act formality but a window into the soul’s deepest orientation. When a mumin makes niyyah for walayah — I perform this act in the context of recognizing the Imam’s guidance, for the sake of Allah who appointed him — they are aligning the act with the fullest possible intention, the one that situates the specific act within the cosmic structure of divine-human relationship.
“Indeed, actions are only by intentions.” — The entire spiritual life is a series of niyyat, moment by moment, act by act, each one either aligning with the divine or pulling away from it. The cultivation of niyyah is the cultivation of the soul’s direction.
See also: Understanding Walayah, Tawil Esoteric Interpretation, Ikhlas Sincerity, Tawba Repentance, Bismillah Basmala