When Pharaoh was angry with his servants and put me in custody in the captain of the guard's house, both me and the chief baker,
And the Midianites [and Ishmaelites] sold [Joseph] in Egypt to Potiphar, an officer of Pharaoh and the captain and chief executioner of the [royal] guard.
And Joseph's master took him and put him in the prison, a place where the state prisoners were confined; so he was there in the prison.