Narrated 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.”
Sahih Bukhari, Volume 3, Book30, Number 91