Hadith

Sahih Muslim #4791

The Book on Government· كتاب الإمارةsahih_muslim:4791

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ بْنِ قَعْنَبٍ، حَدَّثَنَا مَالِكٌ، عَنْ يَحْيَى بْنِ سَعِيدٍ، عَنْ مُحَمَّدِ، بْنِ إِبْرَاهِيمَ عَنْ عَلْقَمَةَ بْنِ وَقَّاصٍ، عَنْ عُمَرَ بْنِ الْخَطَّابِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ إِنَّمَا الأَعْمَالُ بِالنِّيَّةِ وَإِنَّمَا لاِمْرِئٍ مَا نَوَى فَمَنْ كَانَتْ هِجْرَتُهُ إِلَى اللَّهِ وَرَسُولِهِ فَهِجْرَتُهُ إِلَى اللَّهِ وَرَسُولِهِ وَمَنْ كَانَتْ هِجْرَتُهُ لِدُنْيَا يُصِيبُهَا أَوِ امْرَأَةٍ يَتَزَوَّجُهَا فَهِجْرَتُهُ إِلَى مَا هَاجَرَ إِلَيْهِ ‏"‏ ‏.‏

(The value of) an action depends on the intention behind it. A man will be rewarded only for what he intended. The emigration of one who emigrates for the sake of Allah and His Messenger (ﷺ) is for the sake of Allah and His Messenger (ﷺ) ; and the emigration of one who emigrates for gaining a worldly advantage or for marrying a woman is for what he has emigrated.

Chain 1·7 narrators
6

محمد بن عبد الله

Narratorprophet
Transmitted via قال
narrated to
5

عمر بن الخطاب

Sahabisahabi
Transmitted via عن
narrated to
4
ʿAlqamah ibn Waqāṣ

علقمة بن وقاص

Taba Tabi'inthiqa
Transmitted via عن
narrated to
3

محمد بن إبراهيم

Taba Tabi'inthiqa
Transmitted via عن
narrated to
2

يحيى بن سعيد

Taba Tabi'inthiqa
Transmitted via عن
narrated to
1
Taba Tabi'inthiqa
Transmitted via حدثنا
narrated to
0

عبد الله بن مسلمة بن قعنب

Taba Tabi'inthiqa
Transmitted via حدثنا
Legend: Sahabi Tabi'i Taba Tabi'in Later
Hadith text and chains are sourced from publicly available compilations. PeaceSIM’s rijal engine cross-links each narrator to its biographical profile where available.