A:
If the reality is as you mentioned, it is prohibited that people pass through the cemetery with their animals as in doing so they will be encroaching upon the sanctity of the tombs. The villagers have to enclose it with a fence so as to preserve the sanctity of the dead. They may inform the concerned officials in the government who, in turn, should undertake the building of the fence.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family and Companions.