It is narrated from Sayyiduna Aswad (may Allah be pleased with him) that he was present with the Prophet (peace and blessings be upon him) when he (peace and blessings be upon him) was taking the pledge of allegiance from the people at the place called Qarn Masqalah.
The narrator says that Qarn Masqalah lies on the side of the houses of Abu Thumamah, and it is the place whose front part faces the house of Ibn Amir and whose back part faces the house of Ibn Samurah and its surroundings.
Sayyiduna Aswad (may Allah be pleased with him) says: "I saw the Prophet (peace and blessings be upon him) taking the pledge of allegiance from the people. Men, women, young and old all came and pledged allegiance to him (peace and blessings be upon him) on Islam and the testimony." Abdullah bin Uthman (may Allah have mercy on him) says: I asked: "What is meant by the testimony?" Muhammad bin al-Aswad (may Allah have mercy on him) told me: "(It means) testifying that there is no god worthy of worship but Allah and that Muhammad (peace and blessings be upon him) is the Messenger of Allah."
Muhammad bin al-Aswad bin Khalaf (may Allah have mercy on him) narrates from his father, Sayyiduna Aswad (may Allah be pleased with him), that on the day of the Conquest of Makkah he saw the Prophet (peace and blessings be upon him) taking the pledge of allegiance from the people. He said: "He (peace and blessings be upon him) sat at Qarn Masqalah and took the pledge of allegiance from the people on Islam and the testimony."
Ibn Jurayj (may Allah have mercy on him) says: I asked (my teacher Abdullah bin Uthman bin Khuthaym, may Allah have mercy on him): "What is meant by the testimony?" He said: Muhammad bin al-Aswad bin Khalaf (may Allah have mercy on him) told me: "The Prophet (peace and blessings be upon him) took the pledge from the people on belief in Allah, the Mighty and Majestic, and on testifying that there is no god but Allah and that Muhammad (peace and blessings be upon him) is His servant and Messenger."