3 and imprisoned them in the house of the captain of the guard, the same prison where Joseph was confined.
Genesis 40:3 Cross References - MSB
Genesis 39:20
20 So Joseph’s master took him and had him thrown into the prison where the king’s prisoners were confined. While Joseph was there in the prison,
Genesis 39:23
23 The warden did not concern himself with anything under Joseph’s care, because the LORD was with Joseph and gave him success in whatever he did.