Abu Aswad reported,

Aswad bin Khalaf reported that he saw the Prophet ﷺ taking the pledge of allegiance from the people on the day of the conquest of Mecca. He said, "He sat at the foot of Masfalah and accepted the people's pledge upon Islam and the testimony."I asked, "What is the testimony?"He replied, "Muhammad bin Aswad bin Khalaf informed me that he took their pledge upon belief in Allah, and the testimony that there is no god but Allah and that Muhammad is His servant and Messenger."

Azami 9180

Hasan

عن أبي الأسود

أنه رأى النبي ﷺ يبايع الناس يوم الفتح، قال: جلس عند قرن مسفلة، فبايع الناس على الإسلام والشهادة قال: قلت: وما الشهادة؟ قال: أخبرني محمد بن الأسود بن خلف أنه بايعهم على الإيمان بالله، وشهادة أن لا إله الله، وأن محمدا عبده ورسوله.

الأعظمي 9180حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Events between the expedition of Mutah and the expedition of the conquest of Makkah
Section
Pledge of allegiance of men and women to the Messenger of Allah ﷺ on the day of the conquest
Numbering
Jami al-Kamil 9180 (2nd edition)
Azami 9180