Genesis 40:3

3 He put them in prison in the house of the captain of the palace guard. It was the same prison where Joseph was kept.

Genesis 40:3 Meaning and Commentary

Genesis 40:3

And he put them in ward in the house of the captain of the
guard
Who is generally thought to be Potiphar, since this was the office he was in, ( Genesis 39:1 ) ; unless he was dead, and there was another put into his room, or there were more than one in the same office: into the prison, the place where Joseph [was] bound;
that is, where he had been bound, and where he was still a prisoner, though not fettered and in that close confinement he had been in.

Genesis 40:3 In-Context

1 Some time later, the Egyptian king's baker and wine taster did something their master didn't like.
2 So Pharaoh became angry with his two officials, the chief wine taster and the chief baker.
3 He put them in prison in the house of the captain of the palace guard. It was the same prison where Joseph was kept.
4 The captain put Joseph in charge of those men. So Joseph took care of them. Some time passed while they were in prison.
5 Then each of the two men had a dream. The men were the Egyptian king's baker and wine taster. They were being held in prison. Both of them had dreams the same night. Each of their dreams had its own meaning.
Holy Bible, New International Reader's Version® Copyright © 1995, 1996, 1998 by Biblica.   All rights reserved worldwide.