Exodus 21:6

ISV(i) 6 then his master is to bring him before the judges and he is to bring him to the door or to the doorpost. His master is to pierce his ear with an awl, and he is to serve him permanently.