Deuteronomy 12:21

21 If the place where the Lord your God will choose to put his name is too far from you, and you slaughter as I have commanded you any of your herd or flock that the Lord has given you, then you may eat within your towns whenever you desire.