Destroying some graves in the Masjid that are not visited

A: Muslim authorities must demolish any structures built over graves, for they are of the means to Shirk (associating others with Allah in His Divinity or worship). The Prophet (peace be upon him) said to the Commander of the believers `Aly ibn Abu Talib (may Allah be pleased with him) Spare no portrait unwiped out and leave no high grave unleveled. It is also authentically reported that the Prophet (peace be upon him) forbade plastering graves, sitting on them, and building over them. Compiled by Muslim in his Sahih from the Hadith narrated by Jabir ibn `Abdullah Al-Ansary (may Allah be pleased with both of them). He (peace be upon him) also said: Allah has cursed the Jews and the Christians, for they took the graves of their Prophets as places of worship. (Agreed upon by Imams Al-Bukhari and Muslim).May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.