Hadith on Hijrah: Best emigration is to leave what Allah dislikes

Abdullah ibn Amr reported: A man asked, “O Messenger of Allah, which emigration is best?” The Messenger of Allah, peace and blessings be upon him, said, “To emigrate away from that which Allah disapproves. Emigration is of two kinds: the emigration of the resident and the bedouin. As for the emigration of the bedouin, he responds when he is called and he obeys when he is commanded. As for the emigration of the resident, its trial is more severe and its reward is greater.”

Source: Musnad Aḥmad 6774

Grade: Sahih (authentic) according to Ahmad Shakir

عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو أَنَّ رَجُلًا سَأَلَ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَيُّ الْهِجْرَةِ أَفْضَلُ قَالَ أَنْ تَهْجُرَ مَا كَرِهَ رَبُّكَ وَهُمَا هِجْرَتَانِ هِجْرَةُ الْحَاضِرِ وَهِجْرَةُ الْبَادِي فَأَمَّا هِجْرَةُ الْبَادِي فَيُطِيعُ إِذَا أُمِرَ وَيُجِيبُ إِذَا دُعِيَ وَأَمَّا هِجْرَةُ الْحَاضِرِ فَهِيَ أَشَدُّهُمَا بَلِيَّةً وَأَعْظَمُهُمَا أَجْرًا

6774 مسند أحمد مسند المكثرين من الصحابة

11/62 المحدث أحمد شاكر خلاصة حكم المحدث إسناده صحيح في مسند أحمد