The Messenger of Allah ﷺ said, "There is no migration after the conquest, but rather jihad and intention. So when you are called to march out, then march out."
حدثنا يحيى عن سفيان عن منصور عن مجاهد عن طاوس
قال رسول الله ﷺ لا هجرة بعد الفتح ولكن جهاد ونية وإذا استنفرتم فانفروا
Its isnad is sahih. Abu Dawud narrated it, 2:312, and Munziri said, Bukhari, Muslim, Tirmidhi, and Nasai also narrated it. See 1671, 2396, 2898.