Iglesia encastillada de San Miguel, MAHAMUD