Genesis 39:1

Joseph and Potiphar’s Wife

39:1 Now Joseph had been brought down to Egypt. An Egyptian named Potiphar, an official of Pharaoh and the captain of the guard, purchased him from the Ishmaelites who had brought him there.

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 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.

Genesis 41:12

41:12 Now a young man, a Hebrew, a servant of the captain of the guards, was with us there. We told him our dreams, and he interpreted the meaning of each of our respective dreams for us.