Hadithcore
Riyad as-Salihin, 1

'Umar bin Al-Khattab (May Allah be pleased with him), reported:

The Messenger of Allah (ﷺ) said, "The deeds are considered by the intentions, and a person will get the reward according to his intention. So whoever emigrated for Allah and His Messenger, his emigration will be for Allah and His Messenger; and whoever emigrated for worldly benefits or for a woman to marry, his emigration would be for what he emigrated for". <b>[Al-Bukhari and Muslim]</b>.

وعن أمير المؤمنين أبي حفص عمر بن الخطاب بن نفيل بن عبد العزى بن رياح بن قرط بن رزاح بن عدى بن لؤى ابن غالب القرشى العدوى‏.‏ رضي الله عنه، قال‏:‏ سمعت رسول الله صلى الله عليه وسلم يقول‏:‏ ‏

‏ إنما الأعمال بالنيات، وإنما لكل امرىء ما نوى فمن كانت هجرته إلى الله ورسوله فهجرته إلى الله ورسوله، ومن كانت هجرته لدنيا يصيبها، أو امرأة ينكحها فهجرته إلى ما هاجر إليه‏

‏ ‏(‏‏(‏متفق على صحته‏.‏ رواه إماما المحدثين‏: أبو عبدالله محمد بن إسماعيل بن إبراهيم بن المغيرة بن بَرْدِزْبَهْ الجعفي البخاري، أبو الحسين مسلم بن الحجاج بن مسلم القشيرى النيسابورى رضي الله عنهما في صحيحهما اللذين هما أصح الكتب المصنفة‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 1
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) This Hadith is like a scale with which people weigh their inner deeds: Are they sincere to Allah or not regarding them?<br> 2) People differ with regards to their acts of worship according to their intentions. The intentions of some people have reached the ultimate level of sincerity (to Allah) and keenness in following the Sunnah (of the Messenger of Allah) with regard to doing good and righteous deeds, while the intentions of others are below that.<br> 3) Moving from non-Muslim land to Muslim land is obligatory on those capable of doing that, as was the case with the early believers; the honorable Companions of the Prophet (may Allah’s peace and blessings be upon him) who migrated from Makkah to Madinah before Makkah became a land of Islam and belief.<br> <br> <b>Benefit:</b><br> Hijrah includes forsaking a deed, a doer, and a place.<br> First: Hijrah of a deed; meaning that a slave of Allah refrains from all the sins prohibited by Allah and His Messenger, as in the following Hadith: “The Muhājir (i.e. the doer of Hijrah) is the one who forsakes what Allah has forbidden.” [Narrated by Al-Bukhāri]<br> Second: Hijrah of the doer, like forsaking a man who sins openly and announces his sins. If deserting such a person would bring about benefit, such as prompting him to stop committing what Allah prohibited, then he is to be deserted.<br> Third: Hijrah of the place, by moving from a place infested with sins to another place that is free of such sins or where they are comparatively less, because the individual is affected by his environment either positively or negatively.<br> <b>Benefit:</b><br> What is the ruling on a Muslim traveling to disbelievers’ countries?<br> It is not permissible for a Muslim to travel to disbelievers’ states, and it is prohibited unless certain conditions are met; these conditions are:<br> 1) That the Muslim is equipped with sound knowledge to refute suspicions raised by others, for the disbelievers might put forward to him difficult issues and questions related to Islam, the Qur’an, the Prophet and so on, which he might not be able to answer.<br> 2) That he has a strong base of religiosity and piety to protect himself against the widespread prohibited lusts, such as drinking alcohol, committing adultery, and staying up late at night to party and the like.<br> 3) That he needs to make that trip. As for traveling for tourism, it is impermissible. An example of a need is to travel to seek medical treatment, to seek knowledge that is not available in Muslim countries, or to conduct trade that would benefit him and Muslims in general.<br> One kind of permissible or obligatory traveling is when a preacher or a scholar travels to invite people to the religion of Allah Almighty.<br> <br> <b>Words in the Hadith:</b><br> Hijrah: moving from non-Muslim states to Muslim states.
Related hadiths12
Compare isnād across 12 related chains →