Cross reference
Genesis 40:3
3 He put them in custody in the house of the captain of the guard, into the prison, the place where Joseph was bound.
Genesis 39:20
20 Joseph's master took him, and put him into the prison, the place where the king's prisoners were bound, and he was there in custody.
Genesis 39:23
23 The keeper of the prison didn't look after anything that was under his hand, because Yahweh was with him; and that which he did, Yahweh made it prosper.