
According to the laws of the Torah, when a Jew who purchases another Jew as a slave the length of servitude is six years. If the Jewish slave wishes to remain a slave at the end of the six years he must be acquired by piercing his earlobe with an awl; the Torah states “If you buy a Hebrew servant, he shall serve six years; and in the seventh he shall go out free and pay nothing…But if the servant plainly says, ‘I love my master, my wife, and my children; I will not go out free’, then his master shall bring him to the judges. He shall also bring him to the door, or to the doorpost, and his master shall pierce his ear with an awl; and he shall serve him forever” (Exodus 21:2-6). The early sages ruled, in contrast to what is implied in the Torah, that the master must rest the ear only on the door, not on the doorpost. This Torah law is also written in Deuteronomy: “Then you shall take an awl and thrust it through his ear and to the door” (Deuteronomy 15: 17). The early sages interpreted the verses above so: Were the law stated “Then you shall take an awl and thrust it through his ear in the door” the law would mean that one must stick only the door, opposite the slave’s ear, but the ear itself is not to be pierced. The scholars ask: How can we interpret the law to mean that the ear is not pierced? It is, after all, explicitly written in Exodus “His master shall pierce his ear with an awl.” The scholars said that the early sages meant that one could interpret the law to mean that the ear is pierced by itself, without leaning on the door, and then it is placed on the door and the door is pierced through the hole already in the ear. But since it is written “through his ear and to the door,” this means that one pierces the ear while it is resting on the door: “he bores through the ear until he reaches the door.” The sages also stated that the door must be attached to the hinges and not detached from its frame. How did they know this? Since the Scriptures placed the door and the frame next to each other it means, the sages say, that the door is as the frame. Just as the sides of the doorframe are standing, so the door must be attached and on the hinges.
(Babylonian Talmud, Tractate Kiddushin 22b)