Deuteronomy 18:21

18:21 Now if you say to yourselves, ‘How can we tell that a message is not from the Lord?’

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,