Question: who was joseph sold to?
Answer: Vayeshev: The Sale of Joseph. And there passed by Midianites, merchants; and they drew and lifted up Joseph out of the pit and sold Joseph to the Ishmaelites for twenty shekels of silver. And they brought Joseph to Egypt. (37:28).