7 If someone is caught kidnapping a fellow Israelite and treating or selling them as a slave, the kidnapper must die. You must purge the evil from among you.

Read Deuteronomy 24:7 Using Other Translations

If a man be found stealing any of his brethren of the children of Israel, and maketh merchandise of him, or selleth him; then that thief shall die; and thou shalt put evil away from among you.
"If a man is found stealing one of his brothers of the people of Israel, and if he treats him as a slave or sells him, then that thief shall die. So you shall purge the evil from your midst.
“If anyone kidnaps a fellow Israelite and treats him as a slave or sells him, the kidnapper must die. In this way, you will purge the evil from among you.