Genesis 40:3

40:3 so he imprisoned them in the house of the captain of the guard in the same facility where Joseph was confined.

Genesis 40:7

40:7 So he asked Pharaoh’s officials, who were with him in custody in his master’s house, “Why do you look so sad today?”

Genesis 41:10

41:10 Pharaoh was enraged with his servants, and he put me in prison in the house of the captain of the guards – me and the chief baker.