Sahih Muslim Book 20, Hadith Number 4598.
Chapter : No migration after the conquest of Mecca but allegiance could be sworn (to a rightful leader) on serving the cause of Islam, on fighting in the way of Allah and on following the path of virtue.
The above tradition has been handed down through a different chain of transmitters.