Anas bin Malik reported,

The Messenger of Allah ﷺ said, "Madinah is sacred from such-and-such a place to such-and-such a place. Whoever commits an offense in it or shelters one who has committed an offense, upon him is the curse of Allah, the angels, and all people. Its trees are not to be cut down."The narrator said that Hasan added, "Except for fodder for a camel."

Ahmad 13499

Sahih

حدثنا حسن بن موسى حدثنا حماد بن سلمة عن عاصم الأحول

عن أنس بن مالك

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

أحمد 13499صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 13499
Ahmad 13499