Genesis 37:36

36Meanwhile athe Midianites had sold him in Egypt to Potiphar, an officer of Pharaoh, bthe captain of the guard.

Copyright information for ESV