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
Nine of Muhammad's wives survived him. Aisha, who became known as Muhammad's favourite wife in Sunni tradition, survived him by decades and was instrumental in helping assemble the scattered sayings of Muhammad that form the Hadith literature for the Sunni branch of Islam.