Al-Khazrajī's biography can be constructed from his own statements, the biographical notices in al-Maqrīzī and Ibn Ḥajar al-ʿAsqalānī and the Ṭabaqāt ṣulaḥāʾ al-Yaman of al-Burayhī.
In his youth, he worked as a plasterer and painter in and around Taʿizz, decorating the Madrasa al-Afḍaliyya and the palace Dār al-Dībāj.
He studied qirāʾāt (Qurʾān recitation) and became a qāriʾ (reader) in the mosque of al-Mimlāḥ, a village outside Zabīd.
The Kifāya wa-l-iʿlām also circulated under the titles al-ʿAsjad al-masbūk fī taʾrīkh al-Islām wa-ṭabaqāt al-mulūk ("The Melted Gold on the History of Islam and the Generations of Kings") and Fākihat al-zaman ("The Fruits of Time").
[5] A manuscript of the ʿUqūd al-luʾluʾiyya found in India was published with an English translation beginning in 1906.