Genesis 39:1

Thomson(i) 1 Now when Joseph was brought to Egypt, Petephres the chamberlain of Pharao, the captain of the guards, an Egyptian, bought him at the hands of the Ismaelites, who had brought him thither.