Genesis 41:12
And there was there with us a young man, a Hebrew, slave to the captain of the guard; and we told him, and he interpreted our dreams to us; he interpreted to each man according to his dream.
Genesis 37:36
And the Midianites sold him into Egypt unto Potiphar, an officer of Pharaoh's and captain of the guard.
Genesis 40:12-19
And Joseph said unto him, This is the interpretation of it: The three branches are three days;
Genesis 39:1
And Joseph was brought down to Egypt; and Potiphar, an officer of Pharaoh, captain of the guard, an Egyptian, bought him from the hands of the Ishmeelites, who had brought him down there.
Genesis 39:20
And Joseph's master took him and put him into the prison, a place where the king's prisoners were bound; and he was there in the prison.