And the Midianites sold him [Joseph] into Egypt. Genesis 37:36
Then there passed by Midianites merchantmen; and they drew and lifted up Joseph out of the pit, and sold Joseph to the Ismaelites for twenty pieces of silver: and they brought Joseph into Egypt. Genesis 37:28And Joseph was brought down to Egypt; and Potiphar, an officer of Pharaoh, captain of the guard, an Egyptian, bought him of the hands of the Ishmaelites. Genesis 39:1