Deuteronomy 21:22

Disposition of a Criminal’s Remains

21:22 If a person commits a sin punishable by death and is executed, and you hang the corpse on a tree,

Jeremiah 26:15-16

26:15 But you should take careful note of this: If you put me to death, you will bring on yourselves and this city and those who live in it the guilt of murdering an innocent man. For the Lord has sent me to speak all this where you can hear it. That is the truth!”

26:16 Then the officials and all the people rendered their verdict to the priests and the prophets. They said, “This man should not be condemned to die. For he has spoken to us under the authority of the Lord our God.”