Genesis 42:17

And he put them all together into ward three days.

Cross-reference

In Genesis 40:4, Joseph himself was in custody—now he puts his brothers in custody, showing his reversal of fortunes.

In Genesis 41:10, the cupbearer recalls being put in custody—echoing Joseph's own imprisonment before his power rise.

Genesis 50:15 Historical context

In Genesis 50:15, the brothers later fear Joseph's revenge — a direct narrative continuation of the tension begun with their imprisonment here.