Deuteronomy 15:17 in the King James Version
Then thou shalt take an aul, and thrust it through his ear unto the door, and he shall be thy servant for ever. And also unto thy maidservant thou shalt do likewise.
Context
16 It shall be, if he tells you, “I will not go out from you,” because he loves you and your house, because he is well with you,
17 then you shall take an awl, and thrust it through his ear to the door, and he shall be your servant forever. Also to your female servant you shall do likewise.
18 It shall not seem hard to you when you let him go free from you, for he has been double the value of a hired hand as he served you six years. The LORD your God will bless you in all that you do.