Is the transfer of a graveyard without a valid reason from one place to another allowed?
If the transfer of a graveyard is done for the purposes of building a house, mosque or school and given a new land for the graveyard, then it will be absolutely Haram, (impermissible). The reason behind it being illegal is it leads to a change on the endowment, which is not allowed. Also, it is an insult and disrespectful to the Muslim graves.
And Allah ﷻ knows the best
Imam Ahmad Rida Khan رحمة الله تعالى عليه
Translation by Dr Musharraf Hussain Al-Azhari Translator of Majestic Quran, www.majesticquran.co.uk