New International Version

Exodus 21:6 New International Version (NIV)

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

Exodus 21

Exodus 21:5-11