Sharīf (Arabic: شريف šarīf) or Chérif (Darija: Chorfa) is a traditional Arab title in origin, the word is an adjective meaning "noble", "highborn". The feminine singular is sharifa(h) (Arabic: شريفة šarīfah). The masculine plural is Ashraf (Arabic: اشراف ʾašrāf).
Sunnis in the Arab world reserve the term sharif for descendants of Hasan ibn Ali, while sayyid is used for descendants of Husayn ibn Ali. Both Hasan and Husayn are grandchildren of Prophet Muhammad, through the marriage of his cousin Ali and his daughter Fatima. However ever since the post-Hashemite era began, the term sayyid has been used to denote descendants from both Hasan and Husayn. Shiites use the terms sayyid and habib to denote descendants from both Hasan and Husayn; see also ashraf.
From 1201 until the Hejaz was conquered by Ibn Saud in 1925, this family held the office of the Sharīf of Mecca, often also carrying the title and office of King of Hejaz. Descendants now rule the Hashemite Kingdom of Jordan, the name being taken from the Banu Hashim, the sub-tribe of Banu Quraish, to which Prophet Muhammad belonged.
The word has no etymological connection with the English term sheriff, which comes from the Old English word scīrgerefa, meaning "shire-reeve", the local reeve (enforcement agent) of the king in the shire (county).
The Maghreb 
The first known Chorfa, Idris I, was the great-grandson of Ali ibn Abi Talib and Fatima Zahra, the daughter of the Prophet Muhammad and his first wife Khadijah. Idris I and his people fled from Syria to Morocco in 786 from the Abbasids after losing to them in the Battle of Fakh near Mecca in which his family was massacred. In 788, he was greeted by the Amazigh people of Volubilis, a Roman city near Meknes. He got to found the Imperial City of Fez. It is believed that Idis I was poisoned in 791 by a servant sent by Caliph Harun al-Rashid, leaving his wife Kenza pregnant. His loyal servant Rached, a freed slave, helped Kenza raise Idriss II who was born 2 months later.
Idriss II came to the throne at the age of eleven. His tomb is located in Moulay Idriss, a village up on a mountainside near Volubilis. Idriss II's descendants ruled the country until the second half of 10th century, when they lost their authority to the to invasions of the Zenata, an Amazigh tribe under the orders of the Fatimid Caliphate, later the Caliph of Cordoba.
The Chorfa of Morocco has to be a descendant of Hasan ibn Ali.
According to French historians, Abdelkader El Djezairi was a descendant of the Prophet Muhammad. The full name of El Amir Abdelkader is Abd el-Kader ibn Muhyidin, ibn Mostafa (qui s’est installé définitivement dans la plaine d’Ighriss), ibn Muhammad, ibn Ahmed, ibn Muhammad, ibn Abdel-Kaoui, ibn Ali, ibn Ahmed, ibn Khaled, ibn Yussef, ibn Ahmed, ibn Bachar, ibn Muhammed, ibn Massoud, ibn Taous, ibn Yacoub, ibn Abdelkaoui, ibn Ahmed, ibn Muhammad, ibn Idriss II, ibn Idriss I, ibn Abdallah El Kamel, ibn Hassan El Muthana, ibn Hassan Essabt, ibn Ali.
The Senussi, a political-religious brotherhood, founded in Mecca by Sayyid Muhammad ibn Ali as-Senussi in 1837, came to become the Emirs of Cyrenaica in 1917 and then in 1922, the Emirs of Tripoli. The dynasty is of the Chofra descent through their sixth Senussi sultan, Ali ibn Omar. They got to become the kings of Libya.
The last king of Libya, Idris I, was overthrown by a military coup in 1969. The current claimant for the Libyan throne is Sayyid Mohammed El Senussi. It is also claimed by Sayyid Idris bin Abdullah al-Senussi.
See also 
- Online Etymology Dictionary:sheriff, Online Etymology Dictionary:reeve
- Société languedocienne de géographie, University of Montpellier. Institut de géographie, CNRS France, publié par le secrétariat de la Société languedocienne de géographie, 1881. Footnotes: v. 4, page 517
- Rozet et Carette, L'Univers ou histoire et description de tous les peuples, Firmin Didot, 1850, p.193
- Complément de l'Encyclopédie moderne, Firmin Didot, 1857, t.5, p.722