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.
malik:16-33

Yahya related to me from Malik from Hisham ibn Urwa that his father said, "I would not want to be buried in al-Baqi. I would prefer to be buried elsewhere. The one who is buried in al-Baqi is one of two people. Either he is unjust (dhalim), and I would not like to be buried with him, or he is salih, and I would not like his bones to be disturbed for me."  

مالك:١٦-٣٣وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ هِشَامِ بْنِ عُرْوَةَ عَنْ أَبِيهِ أَنَّهُ قَالَ مَا أُحِبُّ أَنْ أُدْفَنَ بِالْبَقِيعِ لأَنْ أُدْفَنَ بِغَيْرِهِ أَحَبُّ إِلَىَّ مِنْ

أَنْ أُدْفَنَ بِهِ إِنَّمَا هُوَ أَحَدُ رَجُلَيْنِ إِمَّا ظَالِمٌ فَلاَ أُحِبُّ أَنْ أُدْفَنَ مَعَهُ وَإِمَّا صَالِحٌ فَلاَ أُحِبُّ أَنْ تُنْبَشَ لِي عِظَامُهُ