Sahih al-Bukhari
Sahih al-Bukhari 6953
حَدَّثَنَا أَبُو النُّعْمَانِ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ يَحْيَى بْنِ سَعِيدٍ، عَنْ مُحَمَّدِ بْنِ إِبْرَاهِيمَ، عَنْ عَلْقَمَةَ بْنِ وَقَّاصٍ، قَالَ سَمِعْتُ عُمَرَ بْنَ الْخَطَّابِ ـ رضى الله عنه ـ يَخْطُبُ قَالَ سَمِعْتُ النَّبِيَّ صلى الله عليه وسلم يَقُولُ " يَا أَيُّهَا النَّاسُ إِنَّمَا الأَعْمَالُ بِالنِّيَّةِ وَإِنَّمَا لاِمْرِئٍ مَا نَوَى، فَمَنْ كَانَتْ هِجْرَتُهُ إِلَى اللَّهِ وَرَسُولِهِ، فَهِجْرَتُهُ إِلَى اللَّهِ وَرَسُولِهِ، وَمَنْ هَاجَرَ إِلَى دُنْيَا يُصِيبُهَا أَوِ امْرَأَةٍ يَتَزَوَّجُهَا، فَهِجْرَتُهُ إِلَى مَا هَاجَرَ إِلَيْهِ ".
ʿAlqama ibn Waqqāṣ said: I heard ʿUmar ibn al-Khaṭṭāb preach, saying, “I heard the Prophet say, ‘People, actions are only by intentions, and each person will have only what he intended. Whoever emigrates for God and His Messenger, his emigration is for God and His Messenger. But whoever emigrates to gain some worldly benefit or to marry a woman, his emigration is for that for which he emigrated.’”
Translation notes
The report is the well-known statement that actions are judged by intentions. The repeated phrasing about emigration is preserved to distinguish the intention directed toward God and His Messenger from worldly or marital motives.