All the firstling males that come of thy herd and of thy flock thou shalt sanctify unto the Lord thy God: thou shalt do no work with the firstling of thy bullock, nor shear the firstling of thy sheep.
Thou shalt eat it before the Lord thy God year by year in the place which the Lord shall choose, thou and thy household.
And if there be any blemish therein, as if it be lame, or blind, or have any ill blemish, thou shalt not sacrifice it unto the Lord thy God.
Thou shalt eat it within thy gates: the unclean and the clean person shall eat it alike, as the roebuck, and as the hart.
Only thou shalt not eat the blood thereof; thou shalt pour it upon the ground as water.
Deuteronomy 15 King James Version; the entire chapter