1. If a man is found slain, lying in a field in the land the LORD your God is giving you to possess, and it is not known who killed him,

2. your elders and judges shall go out and measure the distance from the body to the neighboring towns.

3. Then the elders of the town nearest the body shall take a heifer that has never been worked and has never worn a yoke

4. and lead her down to a valley that has not been plowed or planted and where there is a flowing stream. There in the valley they are to break the heifer's neck.

5. The priests, the sons of Levi, shall step forward, for the LORD your God has chosen them to minister and to pronounce blessings in the name of the LORD and to decide all cases of dispute and assault.

6. Then all the elders of the town nearest the body shall wash their hands over the heifer whose neck was broken in the valley,

7. and they shall declare: "Our hands did not shed this blood, nor did our eyes see it done.

8. Accept this atonement for your people Israel, whom you have redeemed, O LORD, and do not hold your people guilty of the blood of an innocent man." And the bloodshed will be atoned for.

9. So you will purge from yourselves the guilt of shedding innocent blood, since you have done what is right in the eyes of the LORD.

10. When you go to war against your enemies and the LORD your God delivers them into your hands and you take captives,

11. if you notice among the captives a beautiful woman and are attracted to her, you may take her as your wife.

12. Bring her into your home and have her shave her head, trim her nails

13. and put aside the clothes she was wearing when captured. After she has lived in your house and mourned her father and mother for a full month, then you may go to her and be her husband and she shall be your wife.

14. If you are not pleased with her, let her go wherever she wishes. You must not sell her or treat her as a slave, since you have dishonored her.

15. If a man has two wives, and he loves one but not the other, and both bear him sons but the firstborn is the son of the wife he does not love,

16. when he wills his property to his sons, he must not give the rights of the firstborn to the son of the wife he loves in preference to his actual firstborn, the son of the wife he does not love.

17. He must acknowledge the son of his unloved wife as the firstborn by giving him a double share of all he has. That son is the first sign of his father's strength. The right of the firstborn belongs to him.

18. If a man has a stubborn and rebellious son who does not obey his father and mother and will not listen to them when they discipline him,

19. his father and mother shall take hold of him and bring him to the elders at the gate of his town.

20. They shall say to the elders, "This son of ours is stubborn and rebellious. He will not obey us. He is a profligate and a drunkard."

21. Then all the men of his town shall stone him to death. You must purge the evil from among you. All Israel will hear of it and be afraid.

22. If a man guilty of a capital offense is put to death and his body is hung on a tree,

23. you must not leave his body on the tree overnight. Be sure to bury him that same day, because anyone who is hung on a tree is under God's curse. You must not desecrate the land the LORD your God is giving you as an inheritance.