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.
Marital life of Fatimah
Their marriage lasted until Fatimah's death ten years later. Although polygamy was permitted, Ali did not marry another woman while Fatimah was alive, and his marriage to her possesses a special spiritual significance for all Muslims because it is seen as the marriage between two great figures surrounding Muhammad. After Fatimah's death, Ali married other wives and fathered many children.