وَبِهِ : عَنْ يَحْيَى بْنِ سَعِيدٍ ، عَنْ مُحَمَّدِ بْنِ إِبْرَاهِيمَ التَّيْمِيِّ ، عَنْ عَلْقَمَةَ بْنِ وَقَّاصٍ ، عَنْ عُمَرَ بْنِ الْخَطَّابِ قَالَ : قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ : إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ ، وَإِنَّمَا لِامْرِئٍ مَا نَوَى ، مَنْ كَانَتْ هِجْرَتُهُ إِلَى اللهِ وَرَسُولِهِ ، فَهِجْرَتُهُ إِلَى اللهِ وَرَسُولِهِ ، وَمَنْ كَانَتْ هِجْرَتُهُ إِلَى دُنْيَا يُصِيبُهَا ، أَوِ امْرَأَةٍ يَنْكِحُهَا ، فَهِجْرَتُهُ إِلَى مَا هَاجَرَ إِلَيْهِ .
It is narrated from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) that he said: The Messenger of Allah (peace and blessings be upon him) said: "Deeds depend only on intentions, and each person will have only what he intended. So whoever's emigration is for the sake of Allah and His Messenger (peace and blessings be upon him), his emigration is (accepted and is) to Allah and His Messenger (peace and blessings be upon him); and whoever's emigration is to obtain something of this world or for the purpose of marrying a woman, his emigration is for that for which he emigrated."