Gen 40:22

40:22 he hanged the chief baker. Not a reference to hanging as a method of execution, but to the public display of the corpse after death (v. 13 note; Deut. 21:22 note).