Asim reported,

I asked Anas, "Did the Messenger of Allah ﷺ declare Madinah a sanctuary?"He replied, "Yes, the area between such-and-such and such-and-such. Its trees are not to be cut. Whoever introduces an innovation in it, upon him is the curse of Allah, the angels, and all people."Asim said, Musa bin Anas informed me that he said, "Or shelters one who introduces an innovation."

Bukhari 7306

Sahih

حدثنا موسى بن إسماعيل حدثنا عبد الواحد حدثنا

عاصم قال

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

البخاري 7306صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhering to the Book and the Sunnah
Chapter
Sin of one who shelters an offender
Numbering
Darussalam 7306
Bukhari 7306