Exodus 21:5-6

21:5 But if the servant should declare, ‘I love my master, my wife, and my children; I will not go out free,’ 21:6 then his master must bring him to the judges, and he will bring him to the door or the doorposts, and his master will pierce his ear with an awl, and he shall serve him forever.