Cross reference
Genesis 41:10
10 Pharaoh had been angry with his servants, and had put me in prison in the house of the captain of the army, together with the chief bread-maker;
Genesis 39:20
20 And Joseph's master took him and put him in prison, in the place where the king's prisoners were kept in chains, and he was there in the prison-house.
Genesis 40:2-3
2 And Pharaoh was angry with his two servants, with the chief wine-servant and the chief bread-maker;
3 And he put them in prison under the care of the captain of the army, in the same prison where Joseph himself was shut up.
Genesis 37:36
36 And in Egypt the men of Midian gave him for a price to Potiphar, a captain of high position in Pharaoh's house.