We have nothing except the Book of Allah, may He be exalted, and this document from the Prophet ﷺ. Madinah is a sanctuary from ʿAʿir to Thawr; whoever commits an offence in it or gives refuge to an offender, may the curse of Allah, the angels and all the people be upon him and no obligatory or nafl act of worship will be accepted from him.ʿ And he said: ʿProtection given by any Muslim is binding upon all of them. Whoever transgresses protection given by a Muslim, upon him be the curse of Allah, the angels and all the people, and Allah will not accept from him any nafl or obligatory act of worship. Whoever takes people as mawla without the permission of the ones who set him free, upon him be the curse of Allah, the angels and all the people, and Allah will not accept from him any nafl or obligatory act of worship.” (Using translation from Aḥmad 1037)
عَنْ رَسُولِ اللهِ ﷺ إِلَّا الْقُرْآنَ وَمَا فِي هَذِهِ الصَّحِيفَةِ قَالَ قَالَ رَسُولُ اللهِ ﷺ الْمَدِينَةُ حَرَامٌ مَا بَيْنَ عِيرٍ إِلَى ثَوْرٍ فَمَنْ أَحْدَثَ فِيهَا حَدَثًا أَوْ آوَى مُحْدِثًا فَعَلَيْهِ لَعْنَةُ اللهِ وَالْمَلَائِكَةِ وَالنَّاسِ أَجْمَعِينَ لَا يَقْبَلُ اللهُ مِنْهُ صَرْفًا وَلَا عَدْلًا ذِمَّةُ الْمُسْلِمِينَ وَاحِدَةٌ يَسْعَى بِهَا أَدْنَاهُمْ فَمَنْ أَخْفَرَ مُسْلِمًا فَعَلَيْهِ لَعْنَةُ اللهِ وَالْمَلَائِكَةِ وَالنَّاسِ أَجْمَعِينَ لَا يَقْبَلُ مِنْهُ عَدْلًا وَلَا صَرْفًا وَمَنْ وَالَى قَوْمًا بِغَيْرِ إِذْنِ مَوَالِيهِ فَعَلَيْهِ لَعْنَةُ اللهِ وَالْمَلَائِكَةِ وَالنَّاسِ أَجْمَعِينَ لَا يَقْبَلُ مِنْهُ عَدْلًا وَلَا صَرْفًا