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:1858aYaḥyá b. Yaḥyá > Yazīd b. Zurayʿ > Khālid > al-Ḥakam b. ʿAbdullāh b. al-Aʿraj > Maʿqil b. Yasār

I remember being present on the Day of the Tree, and the Prophet ﷺ was taking the oath of the people and I was holding a twig of the tree over his head. We were fourteen hundred (in number). We did not take oath to the death, but to the effect that we would not run away from the battlefield.  

مسلم:١٨٥٨aوَحَدَّثَنَا يَحْيَى بْنُ يَحْيَى أَخْبَرَنَا يَزِيدُ بْنُ زُرَيْعٍ عَنْ خَالِدٍ عَنِ الْحَكَمِ بْنِ عَبْدِ اللَّهِ بْنِ الأَعْرَجِ عَنْ مَعْقِلِ بْنِ يَسَارٍ قَالَ

لَقَدْ رَأَيْتُنِي يَوْمَ الشَّجَرَةِ وَالنَّبِيُّ ﷺ يُبَايِعُ النَّاسَ وَأَنَا رَافِعٌ غُصْنًا مِنْ أَغْصَانِهَا عَنْ رَأْسِهِ وَنَحْنُ أَرْبَعَ عَشْرَةَ مِائَةً قَالَ لَمْ نُبَايِعْهُ عَلَى الْمَوْتِ وَلَكِنْ بَايَعْنَاهُ عَلَى أَنْ لاَ نَفِرَّ  


See similar narrations below:

Collected by Ibn Ḥibbān, Ṭabarānī, Bayhaqī

ذِكْرُ الْخَبَرِ الْمُدْحِضِ قَوْلَ مَنْ زَعَمَ أَنَّ هَذِهِ السُّنَّةَ تَفَرَّدَ بِهَا جَابِرُ بْنُ عَبْدِ اللَّهِ

ibnhibban:4876Shabāb b. Ṣāliḥ > Wahbb. Baqiyyah > Khālid > Khālid > al-Ḥakam b. al-Aʿraj > Maʿqil b. Yasār

[Machine] "Then the people pledged allegiance to the Messenger of Allah ﷺ at the time of Hudaybiyah while he was sitting under the tree, and I was holding a branch from its branches away from his face. We did not pledge allegiance to him upon death, but we pledged to not flee. They were one thousand four hundred (people) that day."  

ابن حبّان:٤٨٧٦أَخْبَرَنَا شَبَابُ بْنُ صَالِحٍ قَالَ حَدَّثَنَا وَهْبُ بْنُ بَقِيَّةَ قَالَ أَخْبَرَنَا خَالِدٌ عَنْ خَالِدٍ* عَنِ الْحَكَمِ بْنِ الْأَعْرَجِ عَنْ مَعْقِلِ بْنِ يَسَارٍ قَالَ

«ثُمَّ بَايَعَ النَّاسُ رَسُولَ اللَّهِ ﷺ زَمَنَ الْحُدَيْبِيَةِ وَهُوَ تَحْتَ الشَّجَرَةِ وَأَنَا رَافِعٌ غُصْنًا مِنْ أَغْصَانِهَا عَنْ وَجْهِهِ فَلَمْ نُبَايِعْهُ عَلَى الْمَوْتِ وَلَكِنْ بَايَعْنَاهُ عَلَى أَنْ لَا نَفِرَّ وَهُمْ يَوْمَئِذٍ أَلْفٌ وَأَرْبَعُ مِائَةٍ»  

tabarani:17730Yaḥyá b. Muḥammad al-Ḥinnāʾī > Abū Kāmil al-Jaḥdarī > Yazīd b. Zurayʿ > Khālid al-Ḥadhhāʾ > al-Ḥakam b. ʿAbdullāh b. al-Aʿraj > Maʿqil b. Yasār

[Machine] "I saw myself on the day of the tree, and the Prophet ﷺ was taking the pledge of allegiance from the people, while I was raising a branch from its branches over his head. We did not pledge him upon death, but we pledged him that we would not flee."  

الطبراني:١٧٧٣٠حَدَّثَنَا يَحْيَى بْنُ مُحَمَّدٍ الْحِنَّائِي ثنا أَبُو كَامِلٍ الْجَحْدَرِيُّ ثنا يَزِيدُ بْنُ زُرَيْعٍ عَنْ خَالِدٍ الْحَذَّاءِ عَنِ الْحَكَمِ بْنِ عَبْدِ اللهِ بْنِ الْأَعْرَجِ عَنْ مَعْقِلِ بْنِ يَسَارٍ قَالَ

«لَقَدْ رَأَيْتُنِي يَوْمَ الشَّجَرَةِ وَالنَّبِيُّ ﷺ» يُبَايِعُ النَّاسَ وَأَنَا رَافِعٌ غُصْنًا مِنْ أَغْصَانِهَا عَنْ رَأْسَهِ لَمْ نُبَايِعْهُ عَلَى الْمَوْتِ وَلَكِنْ بَايَعْنَاهُ عَلَى أَنْ لَا نَفِرَّ  

bayhaqi:16557Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAbdullāh b. Yaʿqūb > Muḥammad b. ʿAbd al-Salām And Muḥammad b. ʿAmr > Yaḥyá b. Yaḥyá > Khālid b. ʿAbdullāh > Khālid al-Ḥadhhāʾ > al-Ḥakam b. ʿAbdullāh al-Aʿraj > Maʿqil b. Yasār al-Muzanī

[Machine] The people pledged allegiance to the Messenger of Allah ﷺ on the Day of Hudaybiyah while he was sitting under a tree, and I was holding a branch from its branches. We did not pledge allegiance to him in regards to death, but we pledged allegiance to him that we will not flee.  

البيهقي:١٦٥٥٧أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَنْبَأَ أَبُو عَبْدِ اللهِ بْنُ يَعْقُوبَ ثَنَا مُحَمَّدُ بْنُ عَبْدِ السَّلَامِ وَمُحَمَّدُ بْنُ عَمْرٍو قَالَا ثَنَا يَحْيَى بْنُ يَحْيَى أَنْبَأَ خَالِدُ بْنُ عَبْدِ اللهِ عَنْ خَالِدٍ الْحَذَّاءِ عَنِ الْحَكَمِ بْنِ عَبْدِ اللهِ الْأَعْرَجِ عَنْ مَعْقِلِ بْنِ يَسَارٍ الْمُزَنِيِّ قَالَ

بَايَعَ النَّاسُ رَسُولَ اللهِ ﷺ يَوْمَ الْحُدَيْبِيَةِ وَهُوَ تَحْتَ الشَّجَرَةِ وَأَنَا رَافِعٌ غُصْنًا مِنْ أَغْصَانِهَا فَلَمْ نُبَايِعْهُ عَلَى الْمَوْتِ وَلَكِنْ بَايَعْنَاهُ عَلَى أَنْ لَا نَفِرَّ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ يَحْيَى بْنِ يَحْيَى