Maghrebi script from a 13th-century northern African Qur'an
Maghrebi (or Maghribi) script is a cursive form of the Arabic alphabet influenced by Kufic letters that developed in the Maghreb (North Africa) and later in Spain, particularly Andalusia. The Maghrebi script can be divided in five other sub/scripts:
The Kufic Maghrebi (the forerunner) see e.g. inscription on Bab Agnaou in Marrakesh.
An example from al-Andalus: an ablutions basin with Maghrebi Kufic inscription, from 988, Umayyad 
Mabsout script, used to write the Quran.
Mojawher script, mainly used by the king to announce laws.
Thuluth Maghrebi script.
Mosnad script mainly used by courts and notaries in writing marriage contracts.