← All Hadith
Intentions
40 Hadith Nawawi #1
Riyad as-Salihin #1

Actions Are by Intentions

Section 1

Hadith text

«إنما الأعمال بالنيات، وإنما لكل امرئ ما نوى، فمن كانت هجرته إلى الله ورسوله فهجرته إلى الله ورسوله، ومن كانت هجرته لدنيا يصيبها أو امرأة ينكحها فهجرته إلى ما هاجر إليه»

Actions are only by intentions, and every person will have only what they intended. So whoever migrated for Allah and His Messenger, their migration is for Allah and His Messenger. And whoever migrated for some worldly gain or to marry a woman, their migration is for what they migrated for.

Section 2

Source

Collection
Sahih al-Bukhari & Sahih Muslim
Book
Book of the Beginning of Revelation
Hadith number
Bukhari 1, Muslim 1907
Narrator
Umar ibn al-Khattab

Grade:

Sahih

Section 3

Isnad chain

  1. Imam al-Bukhari

    Compiler

  2. Umar ibn al-Khattab

    Companion

  3. Prophet Muhammad ﷺ

    Prophet

Chains are summarised for study. Always verify with the original collections and your teachers.

Section 4

Historical context

Madinah
After Hijrah

Background: Umar ibn al-Khattab later reported this from the pulpit of the Prophet's Mosque. Scholars such as Ibn Rajab mention reports that a man migrated to Madinah to marry a woman named Umm Qays, which illustrates the hadith's point, though they note it is not proven to be the direct cause of its being spoken.

Audience: The Companions in Madinah, many of whom had left everything to migrate.

Issue addressed: The same outward action (migration) can carry very different value depending on what the heart intends.

Section 5

Scholar commentary

This hadith is a third of knowledge — it governs the inner side of every action.

Imam al-Shafi'i · Reported by al-Bayhaqi

Scholars began their books with this hadith to remind students to purify their intention before seeking knowledge.

Imam an-Nawawi · Sharh al-Arba'in

Intention distinguishes worship from habit, and one act of worship from another.

Ibn Rajab al-Hanbali · Jami' al-'Ulum wal-Hikam

Section 6

Today's application

Easy

5 minute action

Before you start your work or study today, pause and renew your intention for the sake of Allah.

Medium

Practice through the day

Before every major task today, ask yourself quietly: why am I doing this?

Deep reflection

Weekly challenge

Keep an intention journal for one week: write your intention each morning and review it each night.

Section 7

Related knowledge

Related Quran verses

“And they were not commanded except to worship Allah, sincere to Him in religion.” — Al-Bayyinah 98:5
“Say: Indeed my prayer, my sacrifice, my living and my dying are for Allah, Lord of the worlds.” — Al-An'am 6:162

Related themes

Related Hadith

Discussion

What did you learn from this Hadith?

Share practical reflections kindly and respectfully — like friends in a study circle.

Sign in to join the discussion.

Sign in

Loading the conversation…