On the day of the Conquest (of Mecca) the Prophet (ﷺ) said, "There is no emigration after the Conquest but Jihad and intentions. When you are called (by the Muslim ruler) for fighting, go forth immediately." (See Hadith No. 42)
Sahih al-Bukhari Book 56, Hadith 41