Ali bin Abu Talib reported,

The Messenger of Allah ﷺ said, "The protection granted by Muslims is one. Whoever betrays a Muslim's pledge of safety, upon him is the curse of Allah, the angels, and all people. No obligatory or voluntary worship will be accepted from him."

Azami 581

Sahih

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

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

الأعظمي 581صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Belief in the angels
Section
Curse of the angels upon whoever betrays a Muslim's covenant
Numbering
Jami al-Kamil 581 (2nd edition)
Azami 581