Deuteronomy 12:21

but if the place which the Lord your God will choose, so that his name may be there, is far away, you may kill, from your herds and your flocks which you will have, in the manner I have instructed to you, and you may eat in your towns, as it pleases you

Other versions

King James Version

If the place which the LORD thy God hath chosen to put his name there be too far from thee, then thou shalt kill of thy herd and of thy flock, which the LORD hath given thee, as I have commanded thee, and thou shalt eat in thy gates whatsoever thy soul lusteth after.

English Standard Version

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

New International Version

If the place where the LORD your God chooses to put his Name is too far away from you, you may slaughter animals from the herds and flocks the LORD has given you, as I have commanded you, and in your own towns you may eat as much of them as you want.