Deuteronomy 17:6
Verse 6 of 20. The 17th of 34 chapters in Deuteronomy, in The Law.
2If there is found among you, within any of your gates which the LORD your God gives you, a man or woman who does that which is evil in the LORD your God’s sight in transgressing his covenant,
3and has gone and served other gods and worshiped them, or the sun, or the moon, or any of the stars of the sky, which I have not commanded,
4and you are told, and you have heard of it, then you shall inquire diligently. Behold, if it is true, and the thing certain, that such abomination is done in Israel,
5then you shall bring out that man or that woman who has done this evil thing to your gates, even that same man or woman; and you shall stone them to death with stones.
6At the mouth of two witnesses, or three witnesses, he who is to die shall be put to death. At the mouth of one witness he shall not be put to death.
7The hands of the witnesses shall be first on him to put him to death, and afterward the hands of all the people. So you shall remove the evil from among you.
8If there arises a matter too hard for you in judgment, between blood and blood, between plea and plea, and between stroke and stroke, being matters of controversy within your gates, then you shall arise, and go up to the place which the LORD your God chooses.
9You shall come to the priests who are Levites and to the judge who shall be in those days. You shall inquire, and they shall give you the verdict.
10You shall do according to the decisions of the verdict which they shall give you from that place which the LORD chooses. You shall observe to do according to all that they shall teach you.
World English Bible. Public domain. Set as prose throughout, including the poetry, because the text is published to us without its lines.