Deuteronomy 21:22 - Kjv

And if a man have committed a sin worthy of death, and he be to be put to death, and thou hang him on a tree: