Genesis 41:12
A young Hebrew was there with us, a servant of the captain of the guard. When we told him, he interpreted our dreams to us, giving an interpretation to each man according to his dream.
Genesis 37:36
Meanwhile the Midianites had sold him in Egypt to Potiphar, an officer of Pharaoh, the captain of the guard.
Genesis 40:12-19
Then Joseph said to him, "This is its interpretation: the three branches are three days.
Genesis 39:1
Now Joseph had been brought down to Egypt, and Potiphar, an officer of Pharaoh, the captain of the guard, an Egyptian, had bought him from the Ishmaelites who had brought him down there.
Genesis 39:20
And Joseph's master took him and put him into the prison, the place where the king's prisoners were confined, and he was there in prison.