Deuteronomy 12:11
12:11 Then you must come to the place the Lord your God chooses for his name to reside, bringing everything I am commanding you – your burnt offerings, sacrifices, tithes, the personal offerings you have prepared, and all your choice votive offerings which you devote to him.
Deuteronomy 12:21
12:21 If the place he chooses to locate his name is too far for you, you may slaughter any of your herd and flock he has given you just as I have stipulated; you may eat them in your villages just as you wish.