The First Hadith in Imam Nawawi’s Collection “Actions Are Judged by Intentions”

The Foundation of Sincerity in Islam

At the heart of Islamic spirituality and jurisprudence lies a profound principle: “Actions are judged by intentions.” This timeless hadith, narrated by Umar ibn Al-Khattab and recorded in both Sahih Bukhari and Sahih Muslim, opens the celebrated collection of Imam Nawawi’s Forty Hadiths. It serves as a cornerstone for understanding the role of intention (niyyah) in every act of worship and daily life.

Imam Al-Nawawi’s Introduction to the Forty Hadiths You may also find our Hajj in Islam a modern comprehensive guide to rules rituals and requirements helpful.

“Actions are judged by intentions.”
This timeless hadith, narrated by Umar ibn Al-Khattab and recorded in both Sahih Bukhari and Sahih Muslim, opens the celebrated collection of Imam Nawawi’s Forty Hadiths. It serves as a cornerstone for understanding the role of intention (niyyah) in every act of worship and daily life.


The Hadith and Its Narrator

The full narration reads:

“Actions are judged by intentions, and every person will have what they intended. So whoever migrates for Allah and His Messenger, his migration is for Allah and His Messenger. But whoever migrates for worldly gain or to marry a woman, his migration is for that which he migrated.”

This hadith was narrated solely by Umar ibn Al-Khattab, the second caliph of Islam, known for his justice and deep understanding of the religion. His transmission of this hadith adds weight to its significance in shaping Islamic ethics and law.


Scholarly Commentary on the Hadith

Imam Al-Shafi’i said:

“This hadith constitutes one-third of knowledge, and it enters into seventy chapters of fiqh.”

Imam Ahmad ibn Hanbal remarked:

“The foundations of Islam are upon three hadith: the hadith of intentions, the hadith of ‘Aisha about whoever innovates in this matter of ours, and the hadith of Nu’man ibn Bashir about the lawful and unlawful.”

These statements highlight how this single hadith influences Islamic law, ethics, and spirituality.


Types of Intentions in Islam

The scholars categorize intentions into three main types:

  1. Pure Intention for Allah Alone
    This is the highest form of sincerity (ikhlas) and is fully rewarded.
  2. Intention Mixed with Riya’ (Showing Off)
    This is considered a form of hidden shirk and nullifies the reward.
    As Sufyan al-Thawri said: “I have never treated anything more difficult than my intention, for it keeps changing on me.”
  3. Intention Mixed with Permissible Worldly Benefit
    Such as seeking trade during Hajj or spoils during jihad. This yields partial reward.

The Struggle for Sincerity (Ikhlas)

Achieving true sincerity is one of the most challenging spiritual tasks.
Sahl ibn Abdullah al-Tustari said:

“There is nothing more difficult upon the soul than sincerity, for it has no share in it.”

This struggle is ongoing, requiring vigilance, humility, and a constant return to Allah.


Stories of the Sincere

The lives of the righteous are filled with examples of hidden deeds done purely for Allah:

  • Ali ibn Al-Husayn (Zain al-Abidin) used to secretly deliver food to the poor at night. His acts were only discovered after his death when the nightly charity stopped.
  • A pious man would pretend to sleep so his wife could rest, then rise to pray in secret.

These stories inspire Muslims to build a “private chamber” of worship—deeds known only to Allah.


Practical Lessons for Today’s Muslims

For students and seekers of knowledge at Muslim Academy, this hadith is a call to:

  • Purify intentions in learning, worship, and service.
  • Avoid riya’ by keeping good deeds private.
  • Reflect regularly on the motivations behind actions.
  • Strive for ikhlas, knowing that Allah alone rewards sincerity.

Why This Hadith Opens Books of Islamic Knowledge

Many classical scholars chose to place this hadith about intentions at the very beginning of their written works, including major collections of hadith and books of jurisprudence. The reasoning behind this placement is practical rather than symbolic: before a student learns any ruling, any act of worship, or any piece of knowledge, they are reminded that the value of everything they are about to learn and practice depends entirely on the intention behind it. A person could memorize the entire Quran, master every ruling in Islamic law, and perform every recommended act of worship, yet if the underlying intention is corrupted by showing off or seeking worldly gain rather than sincerity to Allah, the reward attached to those actions is affected. Placing this teaching first sets the tone for everything that follows.

How Intention Shapes Everyday Actions

The principle behind this hadith extends far beyond formal acts of worship like prayer and fasting. A person going to work to provide for their family can turn an ordinary job into an act of worship simply by intending to fulfill their responsibility to their dependents and avoid dependence on others. A student studying for an exam can transform routine study into a rewarded action by intending to gain knowledge that will benefit themselves and others. Even acts as simple as eating, sleeping, or exercising can carry spiritual weight when intended to maintain the health and strength needed to fulfill one’s duties. This is part of why the hadith is often summarized as showing that ordinary life can become worship through the intention behind it, without requiring any change to the action itself.

Common Struggles with Sincerity

Maintaining a pure intention is rarely a one-time achievement; it is an ongoing effort that most people struggle with at different points. Common challenges include feeling a subtle desire for praise after doing something good publicly, comparing one’s acts of worship to others in a way that shifts focus from Allah to social approval, and losing motivation for good deeds once no one is watching or acknowledging them. Scholars have long noted that a useful, practical test is to ask whether an action would still be performed with the same effort and consistency if no one else ever knew about it. Honest reflection using this test can reveal a great deal about where one’s true intention lies. If you’d like to go deeper, see our Faith in the six pillars of iman the foundation of tawhid ar rububiyyah.

Practical Steps to Guard Sincerity

Protecting sincerity is easier with concrete habits rather than vague resolutions. Renewing one’s intention silently before beginning an important task, whether worship or daily work, keeps the purpose of the action consciously in mind. Reducing the habit of announcing every good deed publicly, and instead choosing to keep some acts of charity or worship private, helps train the heart to seek reward from Allah rather than recognition from people. Regularly reflecting on the outcome one is truly hoping for from an action, whether it is Allah’s pleasure or human praise, brings hidden motives into clearer view before they take root. Surrounding oneself with sincere, humble company also tends to reinforce these habits more effectively than trying to maintain them in isolation.

Frequently Asked Questions

Does an action lose all value if a person also hopes for a worldly benefit alongside a sincere intention?

Scholars generally distinguish between an action driven primarily by worldly motives with sincerity as an afterthought, and an action driven primarily by sincerity that also happens to bring a secondary worldly benefit. The core determining factor is which motive is truly driving the action, which is why regular self-reflection matters more than a single moment of intention.

Can intention change the ruling of an action itself?

Intention does not turn a forbidden action into a permissible one, but it can transform an otherwise neutral or permissible action into a rewarded act of worship, or reduce a good action’s spiritual value if the underlying motive is corrupted. This is why Islamic scholarship treats intention as central to the reward of an action rather than to its basic legal permissibility.

How often should a Muslim examine their intentions?

There is no fixed schedule, but many scholars recommend a habit of brief self-examination before major acts of worship and periodically during ordinary life, since intentions can shift gradually over time without a person noticing unless they pause to reflect honestly.

Intention in Learning and Teaching

This hadith carries particular weight for students and teachers of Islamic knowledge, since knowledge itself can become a means of pride rather than a path to Allah if pursued for the wrong reasons. A student who studies primarily to earn a reputation for religious learning, or to win debates and appear superior to others, is warned by this principle that such motives can hollow out the value of their study despite its outward appearance. Conversely, a student who studies with the genuine intention to worship Allah correctly, to guide their own family well, or to remove ignorance from the community finds that even modest, humble learning carries lasting reward. Teachers, too, are reminded to examine whether they teach to be praised as knowledgeable or to genuinely benefit their students, since this distinction shapes the blessing behind their efforts.

Intention and Migration: The Second Half of the Hadith

The second part of this hadith addresses a specific historical example involving migration for the sake of Allah versus migration for a worldly motive such as marriage or trade, illustrating that identical outward actions can carry entirely different spiritual outcomes depending on what truly motivated them. This example was chosen precisely because it involves two people performing the exact same physical action, migrating from one place to another, yet ending up with completely different spiritual results based purely on their internal motive. The lesson generalizes far beyond migration itself: any two people can perform the same visible deed, whether attending the mosque, giving charity, or studying, and end up with vastly different outcomes in terms of reward, simply because of what was truly driving them internally.

How Muslim Academy Weaves This Principle Into Learning

At Muslim Academy, lessons on Islamic character and jurisprudence consistently return to this foundational hadith, since it underlies almost every other topic a student encounters, from the rulings of Zakat to the etiquettes of Quran recitation. Teachers regularly remind students that the goal of studying Islamic knowledge is not simply to accumulate information, but to translate that knowledge into sincere practice that genuinely draws a person closer to Allah. This framing helps students avoid treating religious study as an academic exercise disconnected from personal spiritual growth.

What is a simple daily habit to strengthen sincerity?

A brief, silent pause before starting prayer, work, or study, asking oneself why this action is being done and redirecting the heart toward Allah, is a small habit that many teachers recommend as a practical way to keep intention in check throughout an ordinary day.

Why did scholars place so much emphasis on a single, short hadith?

Its brevity is part of its strength: a short, memorable statement that every Muslim can recall easily carries a principle broad enough to apply to virtually every action in life, making it one of the most frequently cited teachings in Islamic scholarship despite its concise wording.

Revisiting this hadith regularly, rather than treating it as something learned once and set aside, keeps its lesson active in daily decisions rather than fading into abstract theory.

This is why generations of students have been advised to memorize it early and return to it often, long after the rest of their formal studies have advanced far beyond its opening chapter.

Our available courses at Muslim Academy include guided study of foundational hadith texts like this one, helping students build both correct understanding and sincere practice together.

Ultimately, the measure of a fulfilling religious life is not the size of one’s actions, but the sincerity quietly carried within each one.

Conclusion: The Spiritual Compass of Every Muslim

The hadith of intention is more than a legal maxim—it is a spiritual compass. It reminds us that Allah looks at the heart, not just the outward action. Whether praying, giving charity, or seeking knowledge, the intention defines the value of the deed.

At Muslim Academy, we encourage every learner to begin their journey with this hadith. Let it guide your actions, purify your heart, and bring you closer to Allah.

“Indeed, Allah does not look at your appearance or wealth, but He looks at your hearts and your deeds.”
Prophet Muhammad ﷺ (Sahih Muslim)https://www.youtube.com/shorts/uCdnp9nmfTk

  Explore our Tafsir classes online for more details.

Similar Posts