Ali ibn al-Jahm set the history of the world in verse, from the creation of Adam to the accession of the caliph al-Musta'in in 248 AH (862 CE), a year before the poet's own death. It is a muzdawija in rajaz: the two halves of each line rhyme with each other and the rhyme changes from line to line, the form Arabic used for long teaching poems. The literary historian Shawqi Dayf describes it as running to “more than three hundred lines, which he made in two parts”: the first on the beginning of creation, the prophets and the vanished nations, drawn from the Quran, the Torah and the chroniclers; the second on the Prophet and the caliphs, Rightly Guided, Umayyad and Abbasid, each reign counted in years and months. In Dayf's view the first part may owe something to a poem on the creation ascribed to Aban ibn Abd al-Hamid, while the second was something new, since “the poets before him had not thought of putting this history into verse”. Khalil Mardam Bek printed it at the end of the poet's diwan as al-Muhabbara fi al-tarikh, “the finely wrought, on history”, where his manuscript has al-Mukhbira, “the informing”; he judged his own reading “perhaps the more correct”.