Genesis identifies Midian as one of the sons of Abraham and Keturah. Midianite traders also appear in the story of Joseph, although Genesis uses the terms Midianite and Ishmaelite in closely related ways.
After killing an Egyptian, Moses fled from Pharaoh and settled in the land of Midian. There he married Zipporah, daughter of the priest of Midian, and became a shepherd.
While tending his father-in-law's flock, Moses came to the mountain of God and encountered the burning bush. God commissioned him to return to Egypt and lead Israel from slavery.
Later biblical narratives describe conflict between Israel and Midian, particularly during the wilderness period and during the time of Gideon.