Genesis 39:1
Amplified Bible (AMP)
AND JOSEPH was brought down to Egypt; and Potiphar, an officer of Pharaoh, the captain and chief executioner of the [royal] guard, an Egyptian, bought him from the Ishmaelites who had brought him down there.— Genesis 39:1 (AMP)