Moses
Deuteronomy 15:17ESV·traditional attribution

then you shall take an awl, and put it through his ear into the door, and he shall be your slave forever. And to your female slave you shall do the same.

Matthew Henry Presbyterian @wholebiblehenry

Here is, I. A repetition of the law that had been given concerning Hebrew servants who had sold themselves for servants, or were sold by their parents through extreme poverty, or were sold by the court of judgment for some crime committed. The law was, 1. That they should serve but six years, and in the seventh should go out free, Deu 15:12. Compare Exo 21:2.

Commenting on Deuteronomy 15:12-18

John Gill Reformed Baptist @doctorgill

Then thou shall take an awl, and thrust it through his ear unto the door,.... Not of his master's house, but of the sanhedrim, or court of judicature, according to the Targum of Jonathan, before whom he was to be brought, and declare his desire to continue with his master; See Gill on Exo 21:6, and he shall be thy servant for ever; that is...

Jamieson-Fausset-Brown Reformed @jfbcommentary

HEBREW SERVANTS' FREEDOM. (Deu 15:12-19) if thy brother, an Hebrew man, or an Hebrew woman, be sold unto thee--The last extremity of an insolvent debtor, when his house or land was not sufficient to cancel his debt, was to be sold as a slave with his family (Lev 25:39; Kg2 4:1; Neh 5:1-13; Job 24:9; Mat 18:25). The term of servitude could not last beyond six years.

Commenting on Deuteronomy 15:12-19