Career
Al-Azafi was an expert in the analysis of oral tradition (riwaya wa diraya). He wrote a biography of the Berber saint Sidi Abu Yaaza Yalnour ibn Maymun ibn Abdallah Dukkali Hazmiri al-Gharbi (d 572/1157): Di'amat al-yaqin fi za'amat al-muttaqin (The Pillar of certainty in the leadership of the God-conscious). His most important work is Kitab ad-durr al-munazzam fi i ‘l-mawlid al-mu’azzam.
Al-Azafi established the custom of celebrating Mawlid in Ceuta.