Abu Hurairah reported,

The Prophet ﷺ said, "Madinah is sacred. Whoever introduces an innovation into it, or harbors one who does so, will incur the curse of Allah, the angels, and all of mankind. On the Day of Resurrection, no obligatory deed nor voluntary deed will be accepted from him."

Azami 577

Sahih

عن أبي هريرة، قال

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

الأعظمي 577صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Belief in the angels
Section
Angels' curse upon whoever introduces an innovation in Madinah or shelters an innovator
Numbering
Jami al-Kamil 577 (2nd edition)
Azami 577