Slaughtering animals for other than Allah

Some villagers killing someone without a reason and being ordered to slaughter a calf during Ramadan as Sadaqah