R. Khlifa Malka

was a member of a wealthy family of Safi. He studied in Fez with Judah Benatar and Samuel Sarfaty and later continued his studies in his native town with Joseph Bueno de Mesquita, where Abraham ibn Musa and Jacob Abensur were his fellow students. Having lost his fortune, he settled in Agadir, where he represented Moses Guedalla of Amsterdam. He married Deborah, the daughter of the wealthy scholar Isaac Mendes. In 1728 a plague claimed many victims, among them his wife and one of his daughters. In 1737 he lost large sums of money when the community was plundered and its synagogue set on fire. He then traveled to Holland and London. He wrote a commentary on the siddur entitled Kaf Naki, and also wrote commentaries to the Shulhan Arukh, which he entitled Rakh va-Tov. He was particularly remembered for his piety, and both Jews and Muslims regarded him as a saint. Up to the 1960s regular pilgrimages were still made to his tomb in Agadir.