عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُمَا قَالَ أَتَى النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ رَجُلٌ فَقَالَ يَا رَسُولَ اللَّهِ أَيُّ الْهِجْرَةِ أَفْضَلُ قَالَ مَنْ هَجَرَ مَا كَرِهَ اللَّهُ عَزَّ وَجَلَّ
It is narrated from Sayyiduna Jabir bin Abdullah that a man came to the Noble Prophet (peace and blessings be upon him) and said: O Messenger of Allah! Which migration is the best? He (peace and blessings be upon him) said: The one who abandons what Allah Almighty dislikes.