His works included a history of the governors and judges of Egypt, which continued the similar work of the 9th-century polymath al-Kindi; a history of the al-Madhara'i family of viziers; and books on the founder of the Ikhshidid dynasty, Muhammad ibn Tughj al-Ikhshid and the Ikhshidid strongman Abu'l-Misk Kafur.