بنو هاشم
According to historians Ibn Khaldun and Ibn Hazm, in 968 Ja'far ibn Muhammad al-Hasani came from Medina and conquered Mecca in the name of the Fatimid caliph al-Mu'izz after the latter had conquered Egypt from the Ikhshidids. Jafar was from the wider Banu Hashim clan, albeit a different branch to the modern dynasty. The Banu Hashim claim to trace their ancestry from Hashim ibn 'Abd Manaf (died c. 497), the great-grandfather of the Islamic prophet Muhammad, although the definition today mainly refers to the descendants of Muhammad's daughter Fatimah.