Sahih Muslim 1864
Sahih Muslim · Book 33: The Book on Government · Swearing Allegiance and Pledging to adhere to Islam, to engage in Jihad and to do Good, after the conquest of Makkah, and the meaning of the phrase: "There is No Hijrah (migration) after the Conquest."
'A'isha reported that the Messenger of Allah (ﷺ) was asked about migration, whereupon he said:
وَحَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ نُمَيْرٍ ، حَدَّثَنَا أَبِي ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ حَبِيبِ بْنِ أَبِي، ثَابِتٍ عَنْ عَبْدِ اللَّهِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ أَبِي حُسَيْنٍ ، عَنْ عَطَاءٍ ، عَنْ عَائِشَةَ ، قَالَتْ سُئِلَ رَسُولُ اللَّهِ صلى الله عليه وسلم عَنِ الْهِجْرَةِ فَقَالَ " لاَ هِجْرَةَ بَعْدَ الْفَتْحِ وَلَكِنْ جِهَادٌ وَنِيَّةٌ وَإِذَا اسْتُنْفِرْتُمْ فَانْفِرُوا " .
There is no migration after the Conquest (of Mecca), but Jihad and sincere intention. When you are asked to set out (for the cause of Islam), you should set out,