Salama bin Akwa reported,

Then the Messenger of Allah ﷺ called us to give him our pledge of allegiance at the base of the tree.Salama said, "I pledged allegiance to him first among the people. Then he continued taking pledges, and when he was in the middle of the crowd, he said, 'Pledge allegiance, Salama.'"I replied, "I have already pledged allegiance to you, Messenger of Allah, at the very first."He said, "Do it again."The Messenger of Allah ﷺ noticed that I was unarmed, with no weapon on me, so he gave me a shield. Then he kept taking pledges until he was at the end of the crowd, and he said, "Will you not pledge allegiance to me, Salama?"I replied, "I have already pledged allegiance to you, Messenger of Allah, at the first of the people and in the middle of them."He said, "Do it again."So I pledged allegiance to him a third time.

Azami 7643

Sahih

عن سلمة بن الأكوع- في حديث طويل- قال

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

الأعظمي 7643صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Leadership
Section
Pledging allegiance to the imam more than once
Numbering
Jami al-Kamil 7643 (2nd edition)
Azami 7643