So when the Midyanim, merchants, passed by, they drew and lifted Yosef up out of the cistern and sold him for half a pound of silver shekels to the Yishma'elim, who took Yosef on to Egypt.
Re'uven returned to the cistern, and, upon seeing that Yosef wasn't in it, tore his clothes in mourning.
He returned to his brothers and said, "The boy isn't there! Where can I go now?"
They took Yosef's robe, killed a male goat and dipped the robe in the blood.
Then they sent the long-sleeved robe and brought it to their father, saying, "We found this. Do you know if it's your son's robe or not?"
He recognized it and cried, "It's my son's robe! Some wild animal has torn Yosef in pieces and eaten him!"
Ya'akov tore his clothes and, putting sackcloth around his waist, mourned his son for many days.
Though all his sons and daughters tried to comfort him, he refused all consolation, saying, "No, I will go down to the grave, to my son, mourning." And his father wept for him.
In Egypt the Midyanim sold Yosef to Potifar, one of Pharaoh's officials, a captain of the guard.