Ali bin Abu Talib reported,

Ali said, "We did not write down anything from the Prophet ﷺ except the Quran and what is in this document."The Prophet ﷺ said, "Madinah is sacred territory, from Air to such-and-such. Whoever introduces an innovation in it or shelters one who does so, upon him is the curse of Allah, the angels, and all people. No ransom or substitute will be accepted from him. The protection granted by the Muslims is one, extended even by the lowest of them. Whoever betrays a Muslim's pledge of protection, upon him is the curse of Allah, the angels, and all people..." The hadith continues.

Azami 6853

Sahih

عن علي بن أبي طالب قال

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

الأعظمي 6853صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Retaliation and crimes
Chapter
Retaliation
Section
Muslims are equal in their blood, their covenant is one, and a believer is not killed for a disbeliever
Numbering
Jami al-Kamil 6853 (2nd edition)
Azami 6853