Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:7306Mūsá b. Ismāʿīl > ʿAbd al-Wāḥid > ʿĀṣim

I said to Anas, "Did Messenger of Allah ﷺ make Medina a sanctuary?" He replied, "Yes, (Medina is a sanctuary from such-and-such place to such-and-such place. It is forbidden to cut its trees, and whoever innovates an heresy in it or commits a sin therein, will incur the curse of Allah, the angels, and all the people." Then Musa bin Anas told me that Anas added, "..... or gives refuge to such an heretic or a sinner..."  

البخاري:٧٣٠٦حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ حَدَّثَنَا عَبْدُ الْوَاحِدِ حَدَّثَنَا عَاصِمٌ قَالَ

قُلْتُ لأَنَسٍ أَحَرَّمَ رَسُولُ اللَّهِ ﷺ الْمَدِينَةَ قَالَ نَعَمْ مَا بَيْنَ كَذَا إِلَى كَذَا لاَ يُقْطَعُ شَجَرُهَا مَنْ أَحْدَثَ فِيهَا حَدَثًا فَعَلَيْهِ لَعْنَةُ اللَّهِ وَالْمَلاَئِكَةِ وَالنَّاسِ أَجْمَعِينَ قَالَ عَاصِمٌ فَأَخْبَرَنِي مُوسَى بْنُ أَنَسٍ أَنَّهُ قَالَ أَوْ آوَى مُحْدِثًا  


See similar narrations below:

Collected by Bukhārī, Muslim, Aḥmad, Bayhaqī, Suyūṭī
bukhari:1867Abū al-Nuʿmān > Thābit b. Yazīd > ʿĀṣim Abū ʿAbd al-Raḥman al-Aḥwal > Anas

The Prophet ﷺ said, "Medina is a sanctuary from that place to that. Its trees should not be cut and no heresy should be innovated nor any sin should be committed in it, and whoever innovates in it an heresy or commits sins (bad deeds), then he will incur the curse of Allah, the angels, and all the people." (See Hadith No. 409, Vol 9).  

البخاري:١٨٦٧حَدَّثَنَا أَبُو النُّعْمَانِ حَدَّثَنَا ثَابِتُ بْنُ يَزِيدَ حَدَّثَنَا عَاصِمٌ أَبُو عَبْدِ الرَّحْمَنِ الأَحْوَلُ عَنْ أَنَسٍ ؓ

عَنِ النَّبِيِّ ﷺ قَالَ الْمَدِينَةُ حَرَمٌ مِنْ كَذَا إِلَى كَذَا لاَ يُقْطَعُ شَجَرُهَا وَلاَ يُحْدَثُ فِيهَا حَدَثٌ مَنْ أَحْدَثَ حَدَثًا فَعَلَيْهِ لَعْنَةُ اللَّهِ وَالْمَلاَئِكَةِ وَالنَّاسِ أَجْمَعِينَ  

muslim:1366Ḥāmid b. ʿUmar > ʿAbd al-Wāḥid > ʿĀṣim

I asked Anas b. Malik whether Messenger of Allah ﷺ had declared Medina as sacred. He said: Yes. (the area) between so and so. He who made any innovation in it, and further said to me: It is something serious to make any innovation in it (and he who does it) there is upon him the curse of Allah, and that of the angels and of all the people, Allah will not accept from him on the Day of Resurrection either obligatory acts or the surpererogatory acts. Ibn Anas said: Or he accommodates an innovator.  

مسلم:١٣٦٦وَحَدَّثَنَاهُ حَامِدُ بْنُ عُمَرَ حَدَّثَنَا عَبْدُ الْوَاحِدِ حَدَّثَنَا عَاصِمٌ قَالَ

قُلْتُ لأَنَسِ بْنِ مَالِكٍ أَحَرَّمَ رَسُولُ اللَّهِ ﷺ الْمَدِينَةَ قَالَ نَعَمْ مَا بَيْنَ كَذَا إِلَى كَذَا فَمَنْ أَحْدَثَ فِيهَا حَدَثًا قَالَ ثُمَّ قَالَ لِي هَذِهِ شَدِيدَةٌ مَنْ أَحْدَثَ فِيهَا حَدَثًا فَعَلَيْهِ لَعْنَةُ اللَّهِ وَالْمَلاَئِكَةِ وَالنَّاسِ أَجْمَعِينَ لاَ يَقْبَلُ اللَّهُ مِنْهُ يَوْمَ الْقِيَامَةِ صَرْفًا وَلاَ عَدْلاً قَالَ فَقَالَ ابْنُ أَنَسٍ أَوْ آوَى مُحْدِثًا  

ahmad:13499Ḥasan b. Mūsá > Ḥammād b. Salamah > ʿĀṣim al-Aḥwaliʿan Anas b. Mālik

[Machine] The Messenger of Allah, ﷺ , said, "The city is sacred from here to here. Whoever innovates in it or shelters an innovator has upon him the curse of Allah, the angels, and all the people. Its trees should not be cut down." He also said, "Except for the purpose of feeding camels."  

أحمد:١٣٤٩٩حَدَّثَنَا حَسَنُ بْنُ مُوسَى حَدَّثَنَا حَمَّادُ بنُ سَلَمَةَ عَنْ عَاصِمٍ الْأَحْوَلِعَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ الْمَدِينَةُ حَرَامٌ مِنْ لَدُنْ كَذَا إِلَى كَذَا فَمَنْ أَحْدَثَ حَدَثًا أَوْ آوَى مُحْدِثًا فَعَلَيْهِ لَعْنَةُ اللهِ وَالْمَلَائِكَةِ وَالنَّاسِ أَجْمَعِينَ لَا يُعْضَدُ شَجَرُهَا قَالَ وَقَالَ الْحَسَنُ إِلَّا لِعَلَفِ بَعِيرٍ  

bayhaqi:9959Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās ʿAbdullāh b. al-Ḥusayn al-Qāḍī > al-Ḥārith b. Abū Usāmah > ʿĀrim > Thābit b. Yazīd Abū Zayd > ʿĀṣim b. Sulaymān Abū ʿAbd al-Raḥman al-Aḥwal > Anas b. Mālik

The Prophet ﷺ said, "Medina is a sanctuary from that place to that. Its trees should not be cut and no heresy should be innovated nor any sin should be committed in it, and whoever innovates in it an heresy or commits sins (bad deeds), then he will incur the curse of Allah, the angels, and all the people." (See Hadith No. 409, Vol 9). (Using translation from Bukhārī 1867)   

البيهقي:٩٩٥٩أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنا أَبُو الْعَبَّاسِ عَبْدُ اللهِ بْنُ الْحُسَيْنِ الْقَاضِي ثنا الْحَارِثُ بْنُ أَبِي أُسَامَةَ ثنا عَارِمٌ ثنا ثَابِتُ بْنُ يَزِيدَ أَبُو زَيْدٍ ثنا عَاصِمُ بْنُ سُلَيْمَانَ أَبُو عَبْدِ الرَّحْمَنِ الْأَحْوَلُ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ النَّبِيَّ ﷺ قَالَ إِنَّ الْمَدِينَةَ حَرَمٌ آمِنٌ مِنْ كَذَا إِلَى كَذَا لَا يُقْطَعُ شَجَرُهَا وَلَا يُحْدَثُ فِيهَا حَدَثٌ فَمَنْ أَحْدَثَ فِيهَا حَدَثًا فَعَلَيْهِ لَعْنَةُ اللهِ وَالْمَلَائِكَةِ وَالنَّاسِ أَجْمَعِينَ لَا يُقْبَلُ مِنْهُ صَرْفٌ وَلَا عَدْلٌ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ عَارِمٍ
suyuti:11802a
Request/Fix translation

  

السيوطي:١١٨٠٢a

"المدينة حَرَمٌ من كذا إِلى كذا، لا يُقْطَعُ شَجَرُها, ولا يُحْدَثُ فيها حَدَثٌ، من أَحْدَثَ فيها حَدثًا أَو آوى مُحْدثًا فعليه لعنةُ الله والملائكة والناسِ أجمعين، لا يقبل اللهُ منه يوم القيامة صَرْفا ولا عَدْلا".  

[حم] أحمد [خ] البخاري [م] مسلم وابن جرير عن أَنس