Islam permits marriage between cousins but does not command or encourage it as a religious act, and the Qur'an simply leaves cousins off the list of relatives with whom marriage is forbidden (4:23).
- The Prophet (saw) married his cousin Zaynab bint Jahsh (ra), and his cousin Ali (ra) married his daughter Fatima (ra), but this shows only that cousin marriage is lawful.
- Some Shafi'i jurists said it is better to marry outside the close family, and the sayings that are quoted to this effect as hadith are not sound.
- Medical studies show that the risk of recessive genetic conditions in children of first cousins is modestly higher than average, and scholars and councils support genetic counselling before marriage.
- The high rate of cousin marriage in some Muslim societies reflects custom, family ties and property arrangements, not a religious preference.
Introduction
The question assumes that Islam both allows and encourages cousin marriage. The first part of this is correct and the second is not. Islam allows it, as the sources make clear. Nothing in the Qur'an or in the sound hadith encourages it as such, and some classical jurists considered it less desirable than marriage outside the close family. The practice is common in several Muslim societies, but also in many others, including Hindu, Jewish, Christian and secular communities in various periods, and its frequency has more to do with family structure, land and trust than with religious teaching.
This answer sets out what the texts say, what the schools said, what is known medically and what contemporary scholars advise. The tone matters, since the topic touches on families who are in such marriages, and it should be treated with respect and accuracy.
What the texts say
The Qur'an lists the women forbidden in marriage: mothers, daughters, sisters, paternal and maternal aunts, nieces, foster relatives, mothers-in-law and stepdaughters in certain cases, and others (4:22 to 23). Cousins are not on the list. Allah then says that everything besides these is permitted (4:24). In 33:50, addressing the Prophet (saw), the Qur'an says that He has made lawful for him his wives, those whom his right hand possesses, 'the daughters of your paternal uncles and paternal aunts and the daughters of your maternal uncles and maternal aunts who emigrated with you'. The verse is specific to the Prophet (saw) in some of its provisions, but commentators such as al-Tabari and Ibn Kathir take the mention of cousins as evidence that such a marriage is lawful in itself.
The practice of the Prophet (saw) and his family is also relevant. He married Zaynab bint Jahsh (ra), the daughter of his paternal aunt Umayma, after her divorce from Zayd ibn Haritha (ra), as told in 33:37 and in Sahih al-Bukhari. His own daughter Fatima (ra) married his cousin Ali (ra). These facts show lawfulness. They do not amount to a command, and no scholar holds that cousin marriage is a sunnah in the sense of a recommended act.
The view that outside marriage is better
A saying is often quoted: 'Marry strangers, so that you do not weaken your offspring', sometimes attributed to the Prophet (saw). Hadith critics, among them Ibn al-Salah and al-Albani, said it has no sound chain and cannot be attributed to him. It is cited in some books of the Shafi'i school as a saying that has a good meaning. Al-Ghazali in Ihya' 'Ulum al-Din, in the chapter on marriage, advised against marrying a close relative, giving the reason that desire is stronger where there is more distance. Several Shafi'i jurists in works such as Mughni al-Muhtaj by al-Shirbini stated that it is preferable (awla) to marry from outside the near family, and some said that marrying close relatives is disliked (makruh) for that reason. This is the position of a section of the Shafi'i school, though other schools did not express a preference, and nobody forbids it.
The opposite attitude is also found in the tradition, with some tribal customs that favour the marriage of a man to his paternal uncle's daughter (bint al-'amm). The jurists did not treat this custom as a religious rule. The condition of suitability (kafa'a) discussed in the books includes lineage and religion, and a family may prefer a known and trusted partner. This explains some of the practice, along with the wish to keep property within the family, the closeness of families and the arrangement of marriages.
What science shows
Marriage between close relatives raises the chance that a child inherits two copies of the same harmful recessive gene. The overall risk of a serious birth defect in the general population is about two to three per cent, and the National Society of Genetic Counselors in the United States, in a review published in 2002 by Robin Bennett and colleagues, estimated that the children of first cousins have an added risk of about 1.7 to 2.8 percentage points. This is a measurable increase and not a certainty, and most such children are healthy. The risk compounds over generations if the marriages continue within the same family. Studies in Britain, including those on communities with a high rate of cousin marriage, have also reported a higher rate of some recessive conditions in children.
The Prophet (saw) said that there is to be no harm and no reciprocating harm (Sunan Ibn Majah and Muwatta' Malik, graded hasan by al-Nawawi and al-Albani). The maxim has been used by contemporary scholars to support medical testing. Several countries, including Saudi Arabia, the United Arab Emirates and Bahrain, have introduced mandatory premarital screening for conditions such as sickle cell disease and thalassaemia. Scholars of the Islamic Fiqh Academy and national fatwa bodies have supported this kind of testing and genetic counselling. A family in which two cousins carry the same recessive gene has been advised by doctors and scholars to consider the risk before proceeding, and a ruling that a marriage is lawful does not mean it must go ahead.
Putting it together
Cousin marriage is lawful and not required. Families who are in such marriages have done nothing wrong. Those who are considering it should think about family history of genetic disease, take advice from a genetic counsellor and consider the Shafi'i preference for marrying outside the near family, particularly where marriages between relatives have been repeated for several generations. Most importantly, the Prophet (saw) said that a woman is married for four reasons, wealth, lineage, beauty and religion, and that the one who has religion should be chosen (Sahih al-Bukhari and Sahih Muslim). This is the central criterion, and it applies whether the partner is a cousin or a stranger.
Conclusion
The assumption that Islam encourages cousin marriage is not borne out by the sources. It is lawful, as the Qur'an and the example of the Prophet (saw) show, but it is not recommended as such, and some jurists preferred marriage outside the near family. Modern medicine adds a further reason for caution and for testing, and the guiding principles are religion, character and protection from harm.
References
The Qur'an: 4:22 to 24, 33:37, 33:50
Sahih al-Bukhari and Sahih Muslim: hadith on the four reasons for marriage; Sunan Ibn Majah and Muwatta' Malik: 'no harm'
Al-Tabari, Jami' al-Bayan; Ibn Kathir, Tafsir al-Qur'an al-'Azim
Al-Ghazali, Ihya' 'Ulum al-Din; al-Shirbini, Mughni al-Muhtaj
R. L. Bennett et al., 'Genetic counseling and screening of consanguineous couples and their offspring', Journal of Genetic Counseling (2002)