It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that on the occasion of the Treaty of Hudaybiyyah, we pledged allegiance to the Prophet (peace and blessings be upon him) that we would not flee from the battlefield.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14114
Hadith Gradingحکم دارالسلام:حديث صحيح، م: 1856، سليمان بن قيس اليشكري سمع من جابر وكتبه عنه صحيفة ، جعفر بن أبى وحشية لم يسمع منه وإنما حدث عن صحيفة التى عن جابر وعن سلمة بن الأكوع 16509، وقد سئل: "علام بايعتم؟ قال: على الموت" وانظر الفتح: 6/ 117