Deuteronomy 15:17-19 New Revised Standard Version Catholic Edition (NRSVCE)
17 then you shall take an awl and thrust it through his earlobe into the door, and he shall be your slave[a] forever.
You shall do the same with regard to your female slave.[b]
18 Do not consider it a hardship when you send them out from you free persons, because for six years they have given you services worth the wages of hired laborers; and the Lord your God will bless you in all that you do.
The Firstborn of Livestock
19 Every firstling male born of your herd and flock you shall consecrate to the Lord your God; you shall not do work with your firstling ox nor shear the firstling of your flock.