Sharifism
Sharifism was the system in pre-colonial Morocco in which the shurafā'—descendants of the Islamic prophet Muhammad —held a privileged religious and political position in society. Those who claimed this lineage were regarded as a kind of nobility and were privileged, in the words of Sahar Bazzaz, "as political agents, as interlocutors between various sectors of society, and as would be dynasts of Morocco". They were additionally believed to possess baraka, or blessing power. Claiming this lineage also served to justify authority; the Idrisi dynasty, the Saadi dynasty, and the 'Alawi dynasty all claimed lineage from Ahl al-Bayt.
History
The shurafā surfaced in the Marinid period as a loosely defined group with social and political privilege, gaining political prestige through their involvement in the jihad resistance to Iberian Catholic invasions in the 15th century. Under Sharifism, the shurafā came to be venerated as saints—awliā sāliḥīn —by all social classes in Morocco. Sharifism manifested itself in Mawlid celebrations, claims of possessing prophetic relics, a new hagiographic tradition, and traditions of ziyara to the tombs and the zawiyas of the shurafā, which were considered "sacred and inviolable", and offered sanctuary from the Makhzen.Sufi teachings associated with Muhammad al-Jazuli supported the idea of the authority of the shurafā'
The Saadi dynasty revived Sharifism in the 16th century to assert Arab supremacy in a mostly Amazigh region. At this time, it competed with and eventually marginalized Sufism to become the main channel of legitimacy and power. It became particularly important in the "Maraboutic Crisis", referring to the power struggles involving Sufi zawiyas or ribats following the end of the powerful Amazigh dynasties, which intensified after the death of Ahmad al-Mansur, when his sons Zidan Abu Maali and Abu Faris Abdallah fought for the throne. Under the Saadi dynasty, the armed Sufi ribats represented a challenge to the Makhzen's authority. The Saadis sought to absorb the authority of the Sufis by taking over jihad. They even dug up Muhammad al-Jazuli's body and buried it in a mausoleum in Marrakesh.
The Alawite dynasty from Tafilalt rose to power through its own claims of prophetic lineage as well as its alliances with shurafā families in Fes, especially the Idrisid family, descendants of the founder of Fes, Idris II. Beginning during the reign of Sultan Ismail, the Makhzen began to officially document and verify lineages, restricting the number of families that could receive tax cuts and other benefits on the basis of their sharīfī lineage.