Punishment: Death Penalty: Hanging
Source: Nav
Genesis 40:22
But Pharaoh hanged the chief baker, just as Joseph had described to them in his interpretation.
Deuteronomy 21:22, 23
If a man has committed a sin worthy of death, and he is executed, and you hang his body on a tree, / you must not leave the body on the tree overnight, but you must be sure to bury him that day, because anyone who is hung on a tree is under God’s curse. You must not defile the land that the LORD your God is giving you as an inheritance.
Joshua 8:29
He hung the king of Ai on a tree until evening, and at sunset Joshua commanded that they take down the body from the tree and throw it down at the entrance of the city gate. And over it they raised a large pile of rocks, which remains to this day.