Exodus 21:6 NIV

6 then his master must take him before the judges.a1 He shall take him to the door or the doorpost and pierce2 his ear with an awl. Then he will be his servant for life.3

References for Exodus 21:6