Sahih al-Bukhari 2962
Sahih al-Bukhari · Book 56: Fighting for the Cause of Allah (Jihaad) · To give a Bai'a for not to flee during a battle
Narrated Mujashi:
حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ ، سَمِعَ مُحَمَّدَ بْنَ فُضَيْلٍ ، عَنْ عَاصِمٍ ، عَنْ أَبِي عُثْمَانَ ، عَنْ مُجَاشِعٍ ـ رضى الله عنه ـ قَالَ أَتَيْتُ النَّبِيَّ صلى الله عليه وسلم أَنَا وَأَخِي فَقُلْتُ بَايِعْنَا عَلَى الْهِجْرَةِ. فَقَالَ " مَضَتِ الْهِجْرَةُ لأَهْلِهَا ". فَقُلْتُ عَلاَمَ تُبَايِعُنَا قَالَ " عَلَى الإِسْلاَمِ وَالْجِهَادِ " .
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."