ʿUrf (Arabic: العرف) is an Arabic Islamic term referring to the custom, or 'knowledge', of a given society. To be recognized in an Islamic society, ʿurf must be compatible with the Sharia law. When applied, it can lead to the deprecation or inoperability of a certain aspect of fiqh فقه (Islamic jurisprudence).
ʿUrf is a source of Islamic legal rulings where there are not explicit primary texts of the Qur'an and Sunnah specifying the ruling. ʿUrf can also specify something generally established in the primary texts.
The term 'ʿurf', meaning "to know", refers to the customs and practices of a given society.
ʿUrf was first recognized by Abū Yūsuf (d. 182/798), an early leader of the Ḥanafī school, though it was considered part of the sunnah, and not as formal source. Later al-Sarak̲h̲sī (d. 483/1090) opposed it, holding that custom cannot prevail over a written text.
- Scriptural basis
The "maxim" that custom is an authoritative source for Islamic law "appears in the Quran and Hadith". One hadith narrated by Ibn Mas'ud stated 'Whatever the Muslim saw as good is [considered] good by God, and whatever the Muslim saw as evil is evil according to God.'" 
Although this was not formally included in Islamic law, the Sharia recognizes customs that prevailed at the time of Muhammad but were not abrogated by the Qur'an or the Sunnah (called "Divine silence"). Practices later innovated are also justified, since Islamic tradition says what the people, in general, consider good is also considered as such by Allah (see God in Islam). According to some sources, ʿurf holds as much authority as 'ijma (consensus), and more than qiyas (legal reasoning by analogy). ʿUrf is the Islamic equivalent of "common law".
In the application of ʿurf, custom that is accepted into law should be commonly prevalent in the region, not merely in an isolated locality. If it is in absolute opposition to Islamic texts, custom is disregarded. However, if it is in opposition to qiyas, custom is given preference. Jurists also tend to, with caution, give precedence to custom over doctoral opinions of highly esteemed scholars.
In some countries such as Egypt, marriage, the ʿurfi way, refers to a form of common law marriage that does not involve obtaining official papers issued by the state (زواج عرفي Zawāg ʿUrfi). The validity of this type of marriage is still under debate.
- H. Patrick Glenn, Legal Traditions of the World. Oxford University Press, 2007, pg. 201.
- "Urf", Encyclopaedia of Islam
- Kamal Abu-Shamsieh (2020). "The Application of Maqasid al-Shariah in Islamic Chaplaincy". In David R. Vishanoff (ed.). Islamic Law and Ethics. IIIT. p. 92. ISBN 9781642053463. Retrieved 2 March 2022.
- Hasan (2004), p. 169-71
- Egypt: Customary marriage refworld.org
- Hasan, Abrar (2004). Principles of modern Islamic jurisprudence. Karachi: Pakistan Academy of Jurists.
- Libson, G.; Stewart, F.H. "ʿUrf." Encyclopaedia of Islam. Edited by: P. Bearman, Th. Bianquis, C.E. Bosworth, E. van Donzel and W.P. Heinrichs. Brill, 2008. Brill Online. 10 April 2008