Intention Sunan Ibn Majah 4227

Arabic hadith text
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، ح وَحَدَّثَنَا مُحَمَّدُ بْنُ رُمْحٍ، أَنْبَأَنَا اللَّيْثُ بْنُ سَعْدٍ، قَالاَ أَنْبَأَنَا يَحْيَى بْنُ سَعِيدٍ، أَنَّ مُحَمَّدَ بْنَ إِبْرَاهِيمَ التَّيْمِيَّ، أَخْبَرَهُ أَنَّهُ، سَمِعَ عَلْقَمَةَ بْنَ وَقَّاصٍ، أَنَّهُ سَمِعَ عُمَرَ بْنَ الْخَطَّابِ، وَهُوَ يَخْطُبُ النَّاسَ فَقَالَ سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏:‏ ‏"‏ إِنَّمَا الأَعْمَالُ بِالنِّيَّاتِ وَلِكُلِّ امْرِئٍ مَا نَوَى فَمَنْ كَانَتْ هِجْرَتُهُ إِلَى اللَّهِ وَإِلَى رَسُولِهِ فَهِجْرَتُهُ إِلَى اللَّهِ وَإِلَى رَسُولِهِ وَمَنْ كَانَتْ هِجْرَتُهُ لِدُنْيَا يُصِيبُهَا أَوِ امْرَأَةٍ يَتَزَوَّجُهَا، فَهِجْرَتُهُ إِلَى مَا هَاجَرَ إِلَيْهِ ‏"
Translation
‘Alqamahbin Waqqas (said) that he heard ‘Umar bin Khattab, when hewasaddressing the people, saying

“I heard the Messenger of Allah(ﷺ) say: ‘Actions are but by the intention and every man willhavebut that which he intended. So he whose emigration was for AllahandHis Messenger, his emigration was for Allah and His Messenger.But hewhose emigration was for some worldly benefit or to take somewoman inmarriage, his emigration was for that which he migrated.”

Commentary

Overview & Central Theme

This foundational hadith, recorded by Ibn Majah in his Zuhd collection (no. 4227), establishes the principle of niyyah (intention) as the arbiter of all deeds. The Prophet ﷺ declares that actions are judged solely by their intentions, and each person receives precisely what they intended. The specific example of emigration (hijrah) illustrates that even a noble act like migrating to Madinah is rendered meaningful only by the sincerity of its purpose—whether for Allah and His Messenger, or for worldly gain such as marriage or wealth. The central theme is that the spiritual value of any action lies not in its outward form but in the inner motive, making intention the very soul of worship and conduct.

Context & Linguistic Insights

Scholars note this hadith was uttered during the early Madinan period, specifically when a man emigrated from Makkah to marry a woman named Umm Qays (or in another narration, to wed the woman known as "Bint Qays"). The Prophet ﷺ, upon learning of his motive, famously remarked: "He who emigrates to marry a woman, let him go to her." Linguistically, the key term niyyah derives from the root n-w-y, signifying intent, purpose, and resolve; it is the heart's direction toward an objective. The phrase innamal a'malu binniyyat uses the restrictive particle innama, which limits the validity of deeds to their intentions—emphasizing that no action is complete without a conscious, purposeful motive. The word hijrah (migration) carries the nuance of abandoning one's homeland for a higher cause, and the hadith elevates this act by linking its reward entirely to the migrant's inner state.

Key Scholarly Insights & Legal Benefits

  • The hadith is a fundamental legal maxim (qa'idah fiqhiyyah): the validity and reward of acts of worship depend on intention; without it, deeds are null or devoid of merit.
  • It establishes that intention differentiates between acts of worship and mere habits—e.g., bathing for purification versus cooling off, or eating for strength versus indulgence.
  • Scholars derive that a person is rewarded according to their intention, and a good intention can elevate an otherwise permissible act into an act of obedience, while a corrupt intention can nullify even a virtuous deed.
"This hadith is one of the pillars of Islam and a third of knowledge. It is the criterion by which the sincerity of all actions is weighed." — Imam Ahmad ibn Hanbal (as narrated in his Musnad, and cited by Ibn Rajab in Jami' al-Ulum wal-Hikam)

Daily Life & Spiritual Application

In daily life, this hadith calls every Muslim to purify their intentions before every deed—whether prayer, charity, work, or even eating and sleeping. Before acting, one should pause and ask: "Why am I doing this? Is it for Allah's pleasure alone?" This cultivates ikhlas (sincerity) and guards against riya' (showing off). In contemporary contexts, it means transforming mundane tasks into acts of worship by intending to fulfill obligations, serve family, or benefit society. It also warns against pursuing worldly goals—wealth, status, or marriage—as ultimate ends; instead, these should be sought as means to draw closer to Allah. By consistently renewing intentions, a believer turns the entire day into a continuous act of devotion, achieving excellence (ihsan) by worshipping Allah as if seeing Him, while knowing He sees us.