He joined the court of the Jahwarid Abu al-Hazm of Cordoba and was imprisoned by him after he was accused of conspiring against him and his patrons.
Dia bergabung dengan pengadilan Jahwarid Abu al-Hazm dari Kordoba dan dipenjara olehnya setelah dia dituduh berkonspirasi melawannya dan para pelindungnya.