Gen Genesis, chapter Book of Genesis, chapter 40
Pharaoh was angry with his two officers, the chief cup bearer and the chief baker. He put them in custody in the house of the captain of the guard, into the prison, the place where Joseph was bound. Gen 39:20