al-Ifrani was born in 1669/1670 in
Marrakesh. His family was from the Ifran tribe, a
Shilha Berber tribe of the
Draa River basin in the
Sous region. He began his studies in his hometown, where he followed the courses of the scholar, Abu al-ʿAbbas Ahmad ibn ʿAli al-Mawasi al-Susi (d. 1718). Then he went to
Fez to continue his studies in the
al-Qarawiyyin, where he attended the lessons of scholars such as Ahmad ibn Abd el-Hayy al-Halabi and Muhammad ibn ʿAbd al-Rahman ibn ʿAbd al-Qadir al-Fasi. == Works ==