Hadith Research Libraryمكتبة الحديث والرجال
Sahih al-Bukhari, 5070
sahih

Chain of narration · Isnād

Each narrator name opens their biography and classical source evidence.

6 transmitters

Narrated by Yahya bin Qz'hfromImam MaalikfromYahya bin Sa'id al-AnsarifromMuhammad bin Ibrahim bin al-Harithfrom'Alqama bin Waqqasfrom'Umar ibn al-Khattab

Hadith text · Matn

‏ الْعَمَلُ بِالنِّيَّةِ، وَإِنَّمَا لاِمْرِئٍ مَا نَوَى، فَمَنْ كَانَتْ هِجْرَتُهُ إِلَى اللَّهِ وَرَسُولِهِ فَهِجْرَتُهُ إِلَى اللَّهِ وَرَسُولِهِ صلى الله عليه وسلم وَمَنْ كَانَتْ هِجْرَتُهُ إِلَى دُنْيَا يُصِيبُهَا أَوِ امْرَأَةٍ يَنْكِحُهَا، فَهِجْرَتُهُ إِلَى مَا هَاجَرَ إِلَيْهِ ‏

‏‏.‏

English translation

Narrated `Umar bin Al-Khattab:

The Prophet (ﷺ) said, "The rewards (of deeds) are according to the intention, and everybody will get the reward for what he has intended. So whoever emigrated for Allah's and His Messenger's sake, his emigration was for Allah and His Messenger; and whoever emigrated for worldly benefits, or to marry a woman, then his emigration was for the thing for what he emigrated for." (1)

Original Arabic chain wording

حَدَّثَنَا يَحْيَى بْنُ قَزَعَةَ، حَدَّثَنَا مَالِكٌ، عَنْ يَحْيَى بْنِ سَعِيدٍ، عَنْ مُحَمَّدِ بْنِ إِبْرَاهِيمَ بْنِ الْحَارِثِ، عَنْ عَلْقَمَةَ بْنِ وَقَّاصٍ، عَنْ عُمَرَ بْنِ الْخَطَّابِ ـ رضى الله عنه ـ قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏

References2 variants
In-Book Reference
Book 67, Hadith 8
USC-MSA web (English) reference
Vol. 7, Book 62, Hadith 8 (deprecated numbering scheme)
Related hadiths12
Study chain and evidence →
Compare isnād across 12 related chains →