Bara bin Azib reported,

When the Messenger of Allah ﷺ made the treaty with the people of Hudaybiyyah, Ali wrote the document between them. He wrote, "Muhammad, the Messenger of Allah." Then he mentioned a narration similar to the hadith of Muaz, except that he did not include in this hadith the phrase "This is what he made the treaty upon."

Muslim 4630

Sahih

حدثنا محمد بن المثنى وابن بشار قالا حدثنا محمد بن جعفر حدثنا شعبة عن أبي إسحق قال سمعت

البراء بن عازب يقول

ا لما صالح رسول الله ﷺ أهل الحديبية كتب علي كتابا بينهم قال فكتب محمد رسول الله ثم ذكر بنحو حديث معاذ غير أنه لم يذكر في الحديث هذا ما كاتب عليه

مسلم 4630صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Jihad and expeditions
Chapter
Treaty of Hudaybiya at Hudaybiya
Numbering
Darussalam 4630
Muslim 4630