Deuteronomy 12:21

21 If the place the LORD your God chooses to put his name is too far away from you, you may slaughter an animal from the herds or flocks that the LORD has given you. Eat as much as you want in your city. I have commanded you to do this.