Genesis 40:3

And he put them in ward in the house of the captain of the guard, into the prison, the place where Joseph was bound.

Cross-reference

Genesis 39:20 identifies this as the same prison where Joseph was confined—the king's prison.

Genesis 41:10 recalls Pharaoh's anger and Joseph's imprisonment, confirming the same event from a later perspective.

Genesis 39:22 notes Joseph was put in charge of all prisoners, explaining why he attends to the cupbearer and baker.

Genesis 39:21 Related theme

Genesis 39:21 reveals God's favor gave Joseph standing with the prison keeper, setting up his role here.

Genesis 39:23 Related theme

Genesis 39:23 shows Joseph's success in prison because the Lord was with him, explaining his trusted position.