Abu Kamal Temim bin Ziri bin Ya'la Al-Yafrani, was the leader of the BerberZenata tribe known as Banu Ifren from 1029 to 1035 during the Middle Ages in the Maghreb. He is the grandson of Yala Ibn Mohammed.[1]
He is known for the construction of the Grand Mosque of Salé in 1028, which was later reconstructed by the Almohads in the 12th century.[2]
In 1029, Temim expedited to Tamesna[3] where he eradicated false Barghawata doctrines, expelled half of the population, enslaving the rest, and established his residence there[4][5] He is also known for building the city of Salé in 1030.[6][7]
In 1033, Temim, leading troops of the Banu Ifran, seized Fez, Morocco from under Maghrawa leader Hammama.[8][9] Hammama was forced to flee to Oujda.[9] There, Temim perpetrated the 1033 Fez massacre, killing 6,000 Moroccan Jews, seizing their possessions, burning their homes, and enslaving their women.[10][11][12][13] Hammama rallied his forces and reconquered Fez in 1039.[9] After fleeing, Temim conquered the city of Chellah, extending his control as far as Tadla.[14]
Temim passed away in 1054-55 in Salé, specifically in Chellah, which he had conquered after fleeing from Hammama in 1038-39. He was succeeded by his son Hammad.[15]