Ali, cousin of Prophet Muhammad and the fourth Rashidun caliph, was married to the Prophet's daughter Fatimah. The Quranic law dictating that daughters receive a portion of the inheritance appears to have provided a financial incentive to cousin marriage, as the inheritance would remain in the extended family.