Genesis 41:12
And there was with us a young Hebrew, the captain's servant, and when we put our dreams before him, he gave us the sense of them.
Genesis 37:36
And in Egypt the men of Midian gave him for a price to Potiphar, a captain of high position in Pharaoh's house.
Genesis 40:12-19
Then Joseph said, This is the sense of your dream: the three branches are three days;
Genesis 39:1
Now Joseph was taken down to Egypt; and Potiphar the Egyptian, a captain of high position in Pharaoh's house, got him for a price from the Ishmaelites who had taken him there.
Genesis 39:20
And Joseph's master took him and put him in prison, in the place where the king's prisoners were kept in chains, and he was there in the prison-house.