Genesis 37:36 And the Midianites sold him into Egypt unto Potiphar, an officer of Pharaoh's, the captain of the guard. (See RSV)
Genesis 39:1 And Joseph was brought down to Egypt; and Potiphar, an officer of Pharaoh's, the captain of the guard, an Egyptian, bought him of the hand of the Ishmaelites, that had brought him down thither. (See RSV)