This excerpt is taken from Sheikh Zubair Ali Zai Rahimahullah's book "Qurbani ke Ahkam o Masail" (Rules and Issues of Sacrifice).
One should not deliberately slaughter animals in the cemetery
Sayyiduna Thabit bin Dhahak رضي الله عنه says:
نذر رجل على عهد رسول الله أن ينحر إبلا ببوانة فأتى النبى فقال إني نذرت أن أنحر إبلا ببوانة فقال النبى هل كان فيها وثن من أوثان الجاهلية يعبد قالوا لا قال هل كان فيها عيد من أعيادهم قالوا لا قال رسول الله أوف بنذرك فإنه لا وفاء لنذر فى معصية الله
During the time of the Prophet Muhammad صلی اللہ علیہ وسلم, a man vowed that he would sacrifice a camel at the place called Buwana. Then he came to the Prophet صلی اللہ علیہ وسلم and said: "Indeed, I have vowed to sacrifice a camel at Buwana." The Messenger of Allah صلی اللہ علیہ وسلم asked: "Was there any idol of the Jahiliyyah (pre-Islamic ignorance) worshipped there?" The Companions رضي الله عنهم said: "No." He asked: "Did they hold fairs there?" The Companions رضي الله عنهم said: "No." Then the Prophet صلی اللہ علیہ وسلم said: "Fulfill your vow. Indeed, there is no need to fulfill a vow that involves disobedience to Allah."
Reference: (Sunan Abi Dawood: 3313, and its chain is authentic)
From this, it is understood that one should completely avoid sacrifice and slaughter in any place where worship, vows, rituals, and acts of drawing near to anyone other than Allah are performed.