Abdullah bin Amr bin As reported,

A man asked the Messenger of Allah ﷺ, "Which migration is best?"He replied, "That you abandon whatever your Lord dislikes. There are two types of migration, the migration of the settled dweller and the migration of the nomad. As for the nomad's migration, it is to obey when commanded and to respond when called. As for the settled dweller's migration, it is the more severe in trial and the greater in reward of the two."

Ahmad 6813

Sahih

حدثنا وكيع حدثنا المسعودي عن عمرو بن مرة عن عبد الله بن الحارث المكتب عن أبي كثير الزبيدي

عن عبد الله بن عمرو

أن رجلا سأل رسول الله ﷺ أي الهجرة أفضل قال أن تهجر ما كره ربك وهما هجرتان هجرة الحاضر وهجرة البادي فأما هجرة البادي فيطيع إذا أمر ويجيب إذا دعي وأما هجرة الحاضر فهي أشدهما بلية وأعظمهما أجرا

أحمد 6813صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Amr bin As
Numbering
Darussalam 6813
Ahmad 6813