حَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَخْبَرَنَا عَاصِمٌ الأَحْوَلُ، قَالَ سَأَلْتُ أَنَسًا أَحَرَّمَ رَسُولُ اللَّهِ صلى الله عليه وسلم الْمَدِينَةَ قَالَ نَعَمْ هِيَ حَرَامٌ لاَ يُخْتَلَى خَلاَهَا فَمَنْ فَعَلَ ذَلِكَ فَعَلَيْهِ لَعْنَةُ اللَّهِ وَالْمَلاَئِكَةِ وَالنَّاسِ أَجْمَعِينَ .
I asked Anas (Allah be pleased with him) whether Allah's Messenger (ﷺ) had declared Medina as sacred. He said: Yes, it is sacred, so its tree is not to be cut; and he who did that let the curse of Allah and that of the angels and of all people be upon him.
Source: Sahih Muslim — repository translation · Imam Muslim ibn al-Hajjaj al-Naysaburi — authenticity/grade metadata requires independent source review · Sunnah.comAudio not available for the selected reciter.
Source: Sahih Muslim — repository arabic · Imam Muslim ibn al-Hajjaj al-Naysaburi · Sunnah.com