Muhammad
Muhammad's life is traditionally defined into two periods: pre-hijra (emigration) in Mecca (from 570 to 622), and post-hijra in Medina (from 622 until 632). Muhammad is said to have had thirteen wives in total (although two have ambiguous accounts, Rayhana bint Zayd and Maria al-Qibtiyya, as wife or concubine.) Eleven of the thirteen marriages occurred after the migration to Medina.
Muhammad's wives
One of the captives from the skirmish with the Banu Mustaliq was Juwayriyya bint al-Harith, who was the daughter of the tribe's chieftain. Her husband, Mustafa bin Safwan, had been killed in the battle. She initially fell among the booty of Muhammad's companion Thabit b. Qays b. Al-Shammas. Upon being enslaved, Juwayriyya went to Muhammad requesting that she - as the daughter of the lord of the Mustaliq - be released, however the Prophet refused. Meanwhile, her father approached Muhammad with ransom to secure her release, but Muhammed still refused to release her. Muhammad then offered to marry her, and she accepted. When it became known that tribes persons of Mustaliq were kinsmen of the prophet of Islam through marriage, the Muslims began releasing their captives. Thus, Muhammad's marriage resulted in the freedom of nearly one hundred families whom he had recently enslaved.