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.
Ali
Their marriage lasted until Fatimah's death ten years later and was said to be full of love and friendliness. Ali is reported to have said about Fatimah, "By Allah, I did never anger her or force her to do something (unwillingly) until Allah took her to the better world. She also did never anger me nor did she disobey me in anything at all. When I looked at her, my griefs and sorrows were relieved." 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 women and fathered many children.