Before the arrival of the Banu Hilal in the late 12th century, the Masmuda were divided largely into three groups: the
Ghumara in the north, the
Barghawata in the central part of Morocco, and the Masmuda proper in the south. The anonymous author of the
Kitāb Mafāk̲h̲ir al-Barbar (roughly translates as "The Book of the Glories of the Berbers"), a work compiled in 1312 '''' lists the sub-tribes of the Masmuda as:
Haha,
Regraga, Warika (Ourika), Hazmira, Gadmiwa, Henfisa, Hezerga,
Doukkala,
Hintata, Maghous, and Tehlawa. In the north, the Masmuda were generally part of the Ghumara, along with two smaller tribes mentioned by the 11th-century writer
al-Bakri: the Aṣṣada, settled between
Ksar el-Kebir and
Ouazzane, and another tribe settled near
Ceuta. In the south, they were divided widely into two groups: the Masmuda of the plains (north of the Atlas Mountains) and the Masmuda of the mountains. In the plains, the main groups were the Dukkala, the Banu Magir, the Hazmira, the Ragraga, and the Haḥa. The Masmuda of the mountains occupied the High Atlas and the
Anti-Atlas mountain regions. In the High Atlas mountains, from east to west, the main groups were: the Glawa, the Haylana (or Aylana), the Warika (or Ourika), the Hazraja, the Aṣṣadan (including the Maṣfiwa, the Maghous, and the Dughagha or Banu Daghugh tribes), the Hintata (including the Ghayghaya tribe), the people of Tinmal, the Ṣawda (or Zawda), the Gadmiwa, and the Ganfīsa (including the Saksawa or Saksiwa), Banu Wawazgit (tifnoute). In the Anti-Atlas and
Sous regions, the Masmuda tribes included: the Saktana and the Hargha. Other tribes are mentioned by the 12th-century writer
al-Idrisi, but their names are difficult to decipher in existing manuscripts. According to
Ibn Khaldun, the Haskura, or Hasakira group—originally of Sanhaja descent and later settled in the Atlas Mountains—were frequently linked with the Masmuda because of their support for the Almohad cause. Their main tribes were the Zamrawa, the Mughrana, the Garnana, the Ghujdama, the Faṭwaka, the Maṣṭawa, the Hultana, and the Hantifa. ==References==