Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:1863aMuḥammad b. al-Ṣabbāḥ Abū Jaʿfar > Ismāʿīl b. Zakariyyāʾ > ʿĀṣim al-Aḥwal > Abū ʿUthmān al-Nahdī > Mujāshiʿ b. Masʿūd al-Sulamī

I came to the Prophet ﷺ to offer him my pledge of migration. He said: The period of migration has expired (and those who wereto get the reward for this great act of devotion have got it). You may now give your pledge to serve the cause of Islam, to strive in the way of Allah and to follow the path of virtue.  

مسلم:١٨٦٣aحَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ أَبُو جَعْفَرٍ حَدَّثَنَا إِسْمَاعِيلُ بْنُ زَكَرِيَّاءَ عَنْ عَاصِمٍ الأَحْوَلِ عَنْ أَبِي عُثْمَانَ النَّهْدِيِّ حَدَّثَنِي مُجَاشِعُ بْنُ مَسْعُودٍ السُّلَمِيُّ قَالَ

أَتَيْتُ النَّبِيَّ ﷺ أُبَايِعُهُ عَلَى الْهِجْرَةِ فَقَالَ إِنَّ الْهِجْرَةَ قَدْ مَضَتْ لأَهْلِهَا وَلَكِنْ عَلَى الإِسْلاَمِ وَالْجِهَادِ وَالْخَيْرِ  


See similar narrations below:

Collected by Bukhārī, Suyūṭī
bukhari:2962Isḥāq b. Ibrāhīm > Muḥammad b. Fuḍayl > ʿĀṣim > Abū ʿUthmān > Mujāshiʿ

My brother and I came to the Prophet ﷺ and I requested him to take the pledge of allegiance from us for migration. He said, "Migration has passed away with its people." I asked, "For what will you take the pledge of allegiance from us then?" He said, "I will take (the pledge) for Islam and Jihad."  

البخاري:٢٩٦٢حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ سَمِعَ مُحَمَّدَ بْنَ فُضَيْلٍ عَنْ عَاصِمٍ عَنْ أَبِي عُثْمَانَ عَنْ مُجَاشِعٍ ؓ قَالَ

أَتَيْتُ النَّبِيَّ ﷺ أَنَا وَأَخِي فَقُلْتُ بَايِعْنَا عَلَى الْهِجْرَةِ فَقَالَ مَضَتِ الْهِجْرَةُ لأَهْلِهَا فَقُلْتُ عَلاَمَ تُبَايِعُنَا قَالَ عَلَى الإِسْلاَمِ وَالْجِهَادِ