ابن خلدون
Muslim historiography has an eponymous "Barbar" as the ancestor of the Berbers: "the Berbers were the descendants of Barbar, the son of Tamalla, the son of Mazigh, the son of Canaan, the son of Ham, the son of Noah" (Ibn Khaldun, "The History of Ibn Khaldun", Chapter 3).