‘Actions are but by intentions.’ With these words the Prophet ﷺ named the principle that changes everything: niyyah, intention, is what gives our actions their meaning and worth. The same deed can be worthless or immense — the difference is the intention behind it.
“Actions are but by intentions, and every person will have only what they intended.” With these words — among the most famous and foundational in all of Islam, the hadith with which countless books of Islamic knowledge begin (Bukhari 1; Muslim 1907) — the Prophet ﷺ named a principle that changes everything: niyyah, intention, is what gives our actions their meaning, their direction, and their worth before Allah ﷻ. The very same outward action can be worthless or immensely valuable, sinful or richly rewarded, empty or full of worship — and the difference lies entirely in the intention behind it. A person who spends wealth for show gains nothing; one who spends it for Allah ﷻ earns His pleasure and reward — though the outward act is identical. One who eats to satisfy appetite alone does an ordinary thing; one who eats with the intention of strengthening themselves for the worship of Allah ﷻ turns a meal into an act rewarded. This is the transforming power of niyyah: it reaches into every action of a life and determines what that action truly is and is worth. To understand intention — how it changes everything we do, and how to purify and harness it — is to hold one of the most powerful keys in all of Islam: the ability to turn the ordinary into worship, and to ensure that a life of actions is not wasted but weighed, by Allah ﷻ, as one intended it.
How Intention Changes Everything
The principle that “actions are but by intentions” (Bukhari 1) reaches into every corner of life, and understanding how intention changes everything reveals its immense power. First, intention determines the worth of an action before Allah ﷻ: the same outward deed is weighed entirely according to the intention behind it — the Prophet ﷺ illustrated this in the very same hadith, teaching that the one whose emigration was for Allah ﷻ and His Messenger ﷺ has emigrated to Allah ﷻ and His Messenger ﷺ, while the one whose emigration was for worldly gain or marriage has emigrated only to that (Bukhari 1) — identical departures, utterly different in worth, according to intention. Second, intention turns the ordinary into worship: this is perhaps the most transforming truth — that permissible, everyday actions (eating, sleeping, working, spending time with family, earning a living) become acts of worship, rewarded by Allah ﷻ, when done with the intention of pleasing Him or as a means to good. The Prophet ﷺ taught that even the morsel a man feeds his wife is a charity for which he is rewarded (Bukhari 56), and that seeking the reward of Allah ﷻ in what one spends on one’s family is rewarded — so a whole ordinary life can be transformed into worship by intention. Third, intention can multiply reward: the sincere intention for Allah ﷻ, and the intending of multiple goods in one act, multiplies the reward — and Allah ﷻ, in His generosity, records even the intended good that a person was unable to carry out, for the Prophet ﷺ taught that whoever intends a good deed but does not do it has it written as a full good deed (Bukhari 6491). Fourth, intention protects against the ruin of an action: just as a good intention elevates, a corrupt intention (showing off, seeking others’ praise, worldly gain in an act of worship) empties or ruins it — the Prophet ﷺ warned severely against riya (showing off), calling it the “lesser shirk,” and taught that the first to be judged and cast into the Fire are those who did great deeds — fighting, giving, reciting — but for the praise of people rather than for Allah ﷻ (Muslim 1905). Fifth, intention is where the reality of an action lies: since Allah ﷻ “does not look at your forms and your wealth, but looks at your hearts and your deeds” (Muslim 2564), the outward act is only the shell, and the intention is the reality that Allah ﷻ weighs. So intention changes everything because it determines the worth of every action, turns the ordinary into worship, multiplies reward and records even the unacted good, protects against the ruin of showing off, and is the very reality of an action that Allah ﷻ weighs — which is why the Prophet ﷺ made it the foundation of the whole of the religious life.
Purifying and Harnessing Your Intention
Given the immense power of intention, the believer works to purify it and to harness it across their life — for a purified, well-directed intention transforms everything, while a corrupt one ruins even great deeds. First, make your intention for Allah ﷻ (ikhlas, sincerity): the foundation is to do things for the sake of Allah ﷻ, seeking His pleasure and reward, rather than for the praise of people, worldly gain alone, or show — for sincerity is what makes an action acceptable, and Allah ﷻ only accepts what is done purely for Him (98:5). Cultivating sincerity is the central work of purifying intention. Second, guard against riya (showing off): watch the heart for the subtle intrusion of seeking others’ notice and praise in acts of worship and good, which empties them — the Prophet ﷺ warned of this “lesser shirk” (Ahmad) — and counter it by renewing the intention for Allah ﷻ alone and, where helpful, concealing one’s good deeds. Third, harness intention to turn the ordinary into worship: consciously intend your permissible daily actions for Allah ﷻ — eating and sleeping to strengthen yourself for worship, working to earn lawful provision and support your family, being kind to gain Allah’s ﷻ pleasure — so that a whole ordinary day becomes rewarded worship. This is one of the most transforming habits a believer can build. Fourth, intend multiple goods in one act: the scholars taught the harnessing of intention to multiply reward — intending, in a single act (like attending the mosque), several goods (the prayer, the greeting of brothers, the seeking of knowledge, the removing of harm) — so that one action earns manifold reward. Fifth, renew and check your intention: since intentions can slip, drift, or be corrupted mid-action, the believer renews the intention at the start of actions and checks the heart throughout, redirecting it to Allah ﷻ when it wanders toward show or worldly motive. Sixth, form the good intention even for what you cannot do: since Allah ﷻ records the intended good deed even when circumstances prevent its doing (Bukhari 6491), cultivate good intentions generously — intending good, resolving on it, and longing to do it — and be rewarded for the intention itself. And seventh, make the intention a habit of the heart: over time, train yourself to bring conscious intention to your actions, so that living deliberately for Allah ﷻ becomes second nature, and your whole life is directed, action by action, toward Him. To purify and harness intention, then, is to make your actions sincerely for Allah ﷻ, guard against showing off, turn the ordinary into worship by conscious intention, intend multiple goods, renew and check the intention, form good intentions generously, and make deliberate intention a habit of the heart — taking hold of the most powerful key in Islam to ensure that your life of actions is not wasted or ruined, but transformed, weighed, and richly rewarded by Allah ﷻ, exactly as you intended it.
Know that intention determines the worth of everything you do. Take to heart the foundational principle: “actions are but by intentions, and every person will have only what they intended” (Bukhari 1). The same outward action can be worthless or immense, empty or full of worship — the difference is the intention behind it. The Prophet ﷺ taught that identical emigrations differ utterly in worth by intention (Bukhari 1), and that Allah ﷻ “does not look at your forms and your wealth, but looks at your hearts and your deeds” (Muslim 2564). The outward act is only the shell; the intention is the reality Allah ﷻ weighs. So attend to your intentions, for they determine what your actions truly are and are worth before Allah ﷻ.
Make your intention sincerely for Allah ﷻ, and guard against showing off. Cultivate ikhlas (sincerity): do things for the sake of Allah ﷻ, seeking His pleasure, not the praise of people or show — for He only accepts what is done purely for Him (98:5). And guard against riya (showing off), which empties even great deeds — the Prophet ﷺ warned it is the “lesser shirk,” and that the first cast into the Fire are those who did great deeds for people’s praise rather than for Allah ﷻ (Muslim 1905). Watch your heart for the intrusion of seeking others’ notice, and counter it by renewing your intention for Allah ﷻ alone. Sincerity elevates an action; showing off ruins it.
Turn the ordinary into worship by conscious intention. Harness the transforming power of intention: consciously intend your permissible daily actions for Allah ﷻ — eating and sleeping to strengthen yourself for worship, working to earn lawful provision and support your family, kindness to gain His pleasure — so a whole ordinary day becomes rewarded worship. The Prophet ﷺ taught that even the morsel a man feeds his wife is a rewarded charity (Bukhari 56). Intend multiple goods in one act to multiply reward, and cultivate good intentions generously, for Allah ﷻ records even the intended good you could not carry out (Bukhari 6491). Renew your intention at the start of actions, and make deliberate intention a habit of the heart.
“Actions are but by intentions” (Bukhari 1) — with these words the Prophet ﷺ named the principle that changes everything: niyyah, intention, is what gives our actions their meaning and worth before Allah ﷻ, so that the same deed can be worthless or immense, empty or full of worship, depending on the intention behind it. Know that intention determines the worth of everything you do; make your intention sincerely for Allah ﷻ while guarding against showing off (98:5; Muslim 1905); and turn the ordinary into worship by conscious intention, cultivating good intentions generously, for Allah ﷻ records even the good you intended but could not do (Bukhari 6491). Intention is the most powerful key in Islam: it turns a meal, a day’s work, and a whole ordinary life into worship; it multiplies reward; it protects against the ruin of showing off; and it is the very reality of an action that Allah ﷻ weighs, for He looks at the hearts, not the forms (Muslim 2564). To purify and harness your intention is to ensure that your life of actions is not wasted but transformed — weighed, and richly rewarded, by Allah ﷻ, exactly as you intended it.
Frequently Asked Questions
What is niyyah (intention) in Islam?
Niyyah is intention — the purpose and direction of the heart behind an action — and it is what gives our actions their meaning and worth before Allah ﷻ. The Prophet ﷺ named its foundational importance in one of the most famous hadiths in Islam: “actions are but by intentions, and every person will have only what they intended” (Bukhari 1; Muslim 1907). The same outward action can be worthless or immensely valuable, empty or full of worship, depending entirely on the intention behind it. Since Allah ﷻ “does not look at your forms… but looks at your hearts” (Muslim 2564), the intention is the reality of an action that Allah ﷻ weighs — making niyyah one of the most powerful principles in the whole religion.
How does intention change the value of an action?
Entirely — the same outward deed is weighed according to the intention behind it. The Prophet ﷺ illustrated this in the hadith of intentions: the one whose emigration was for Allah ﷻ emigrated to Allah ﷻ, while the one whose emigration was for worldly gain emigrated only to that (Bukhari 1) — identical departures, utterly different in worth. A person who gives charity for show gains nothing; one who gives for Allah ﷻ earns His reward — though the act looks the same. Intention can turn an ordinary act into worship, multiply its reward, or, if corrupt (showing off), empty and ruin even a great deed. So the value of an action lies not in its outward form but in the intention of the heart, which Allah ﷻ weighs.
How do I turn everyday actions into worship?
By consciously intending your permissible daily actions for the sake of Allah ﷻ. Intend your eating and sleeping as strengthening yourself for His worship; your work as earning lawful provision and fulfilling your duty to your family; your kindness and good treatment as seeking His pleasure. With such intentions, ordinary acts become rewarded worship — the Prophet ﷺ taught that even the morsel a man feeds his wife is a charity he is rewarded for (Bukhari 56). This is one of the most transforming habits a believer can build: bringing conscious intention to the ordinary, so that a whole day — eating, working, resting, relating — becomes filled with worship and reward, simply by directing it, in the heart, toward Allah ﷻ.
What is riya (showing off) and why is it dangerous?
Riya is showing off — performing acts of worship or good deeds to be seen and praised by people, rather than purely for Allah ﷻ. It is dangerous because it corrupts and empties the very actions it touches: a deed done for people’s praise, however great outwardly, is worthless or worse before Allah ﷻ, who accepts only what is done sincerely for Him (98:5). The Prophet ﷺ called riya the “lesser shirk” and warned that among the first cast into the Fire are those who did great deeds — fighting, giving charity, reciting the Quran — but for the praise of people rather than for Allah ﷻ (Muslim 1905). So the believer guards the heart against riya, renewing the intention for Allah ﷻ alone, for sincerity is what makes an action acceptable.
Do I get rewarded for a good intention I couldn’t act on?
Yes — by Allah’s ﷻ generosity. The Prophet ﷺ taught that whoever intends a good deed but does not do it, Allah ﷻ writes it for him as a full good deed; and if he does it, Allah ﷻ writes it as ten to seven hundred times or more (Bukhari 6491) — so the sincere intention of good is rewarded even when circumstances prevent its doing. This is a beautiful mercy: your sincere resolve and longing to do good — to give, to help, to worship — that you were unable to carry out is recorded as a good deed. So cultivate good intentions generously, intending and resolving on good, and be rewarded for the intention itself. This is why the believer’s inner life of intentions matters so much: even the unacted good, sincerely intended for Allah ﷻ, is not lost but weighed and rewarded by Him.