Narrated Ibn ‘Abbas:
Allah’s Apostle said, “There is no Hijra (i.e. migration) (from Mecca to Medina) after the Conquest (of Mecca), but Jihad and good intention remain; and if you are called (by the Muslim ruler) for fighting, go forth immediately.
Sahih Bukhari, Volume 4, Book52, Number 42