Salama bin Akwa reported,

Salama said, "We came to Hudaybiyah with the Messenger of Allah ﷺ numbering one thousand four hundred. There were fifty sheep at the well, but the water was not enough to quench their thirst.The Messenger of Allah ﷺ sat at the edge of the well and either prayed or spat into it, and the water gushed forth, so we drank and gave our animals to drink.Then the Messenger of Allah ﷺ called us to give him the pledge of allegiance at the foot of the tree. I was the first of the people to pledge to him. Then others pledged, one after another, until, when he was in the middle of the people, he said, 'Pledge, Salama!'I said, 'I have already pledged to you, Messenger of Allah, with the first of the people.'He said, 'Pledge again.'The Messenger of Allah ﷺ saw that I was without weapons, so he gave me a shield. Then he continued taking pledges, until, when he was with the last of the people, he said, 'Will you not pledge to me, Salama?'I said, 'Messenger of Allah, I have already pledged to you with the first of the people and with those in the middle.'He said, 'Pledge again.'So I pledged to him a third time. Then he said to me, 'Salama, where is the shield I gave you?'I said, 'Messenger of Allah, my uncle Amir met me without any weapon, so I gave it to him.'The Messenger of Allah ﷺ laughed and said, 'You are like the man of old who said, O Allah, grant me a friend dearer to me than myself.'"

Azami 8992

Sahih

عن سلمة بن الأكوع قال

قدمنا الحديبية مع رسول الله ﷺ ونحن أربع عشرة مائة. وعليها خمسون شاة لا ترويها- قال- فقعد رسول الله ﷺ على جبا الركية فإما دعا وإما بصق فيها- قال- فجاشت فسقينا واستقينا. قال: ثم إن رسول الله ﷺ دعانا للبيعة في أصل الشجرة قال: فبايعته أول الناس ثم بايع وبايع حتى إذا كان في وسط من الناس قال: بايع يا سلمة! قال: قلت: قد بايعتك يا رسول الله في أول الناس قال وأيضا. قال: ورآني رسول الله ﷺ عزلا- يعني ليس معه سلاح- قال: فأعطاني رسول الله ﷺ حجفة أو درقة ثم بايع حتى إذا كان في آخر الناس قال: الا تبايعني يا سلمة؟ قال: قلت: قد بايعتك يا رسول الله في أول الناس وفي أوسط الناس قال: وأيضا. قال: فبايعته الثالثة ثم قال لي: يا سلمة أين حجفتك أو درقتك التي أعطيتك؟ قال: قلت: يا رسول الله لقيني عمي عامر عزلا فأعطيته إياها- قال: فضحك رسول الله ﷺ، وقال: إنك كالذي قال الأول: اللهم أبغني حبيبا هو أحب إلي من نفسي.

الأعظمي 8992صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Expedition of Hudaybiya and expedition of Dhat al-Qarad
Section
Salama bin Akwa pledged allegiance three times
Numbering
Jami al-Kamil 8992 (2nd edition)
Azami 8992