Sayyiduna Jabir (may Allah be pleased with him) narrates: On the occasion of the Treaty of Hudaybiyyah, our number was one thousand four hundred. We pledged allegiance to the Prophet (peace and blessings of Allah be upon him). Sayyiduna Umar (may Allah be pleased with him) was holding the blessed hand of the Prophet (peace and blessings of Allah be upon him) under the tree. It was a samurah tree. He stated that we pledged allegiance to the Prophet (peace and blessings of Allah be upon him) on the condition that we would not flee. We did not pledge allegiance to him upon death.
Hadith Referenceصحیح ابن حبان / كتاب السير / 4875
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - انظر ما قبله.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح