Deuteronomy 21:22
22
And if a man has committed a sin worthy of death, and he is put to death, and you hang him on a tree;