Genesis 34:1 KJV
1 And Dinah the daughter of Leah, which she bare unto Jacob, went out to see the daughters of the land. 2 And when Shechem the son of Hamor the Hivite, prince of the country, saw her, he took her, and lay with her, and defiled her. 3 And his soul clave unto Dinah the daughter of Jacob, and he loved the damsel, and spake kindly unto the damsel.
Genesis 37:12 KJV
12 And his brethren went to feed their father's flock in Shechem. 28 Then there passed by Midianites merchantmen; and they drew and lifted up Joseph out of the pit, and sold Joseph to the Ishmeelites for twenty pieces of silver: and they brought Joseph into Egypt.
When Joseph was sold by his brothers they must have been living in the environs of Shechem because it is said they were pasturing their flock around that area.After the Dinah incident Jacob & his sons left Shechem in a huff fearing reprisals for the killing of the inhabitants of Shechem.Immediately after this incident God clearly instructs Jacob to go to Bethel and live there.There is no record of Jacob ever coming back to Shechem until he went to Egypt.
So could Joseph have been sold before the Dinah incident?