Sayyiduna Ya'la bin Umayyah (may Allah be pleased with him) says: I brought my father to the Messenger of Allah (peace and blessings be upon him) on the second day of the conquest of Makkah and said to him (peace and blessings be upon him): O Messenger of Allah! Take my father's pledge of allegiance on emigration. He (peace and blessings be upon him) said: "No, rather I will take his pledge on jihad, for emigration came to an end on the day of the conquest of Makkah."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 17769