Sulayman Ibn Khalaf Ibn Saad Ibn Ayyub, known to history as the Qadi (Judge) Abu Al Walid Al Baji, was born in Beja, modern-day Portugal, in 1013, into an Arab family originally from Badajoz. The family later settled in Córdoba, then the intellectual capital of Al-Andalus, where he received his early education.
At twenty-three, he left for the Middle East and stayed away for thirteen years. Three of those years were spent in Mecca, studying under Abu Dharr al-Harawi. He returned to Andalusia in 1047 already recognised as a scholar of the first rank, a Maliki jurist, a hadith master, a theologian, and a poet, all at once. His command of disputation became legendary.
In 1048, in a public debate in Majorca, he defeated the celebrated polymath Ibn Hazm so thoroughly that it contributed to Ibn Hazm’s exile from the island. Ibn Hazm himself is said to have remarked that the Malikis needed no one but Al Baji and 'Abd al-Wahhab to hold their own against any opponent. Historians of the period rank Al Baji and Ibn Hazm together as the two most consequential literary minds of eleventh century Al-Andalus.
His later years took him through Murcia, Dénia, Orihuela, Valencia, and Lleida, before he settled in Zaragoza following the fall of Barbastro in 1065. Under the patronage of Ahmad al-Muqtadir, he produced his most important work, including al-Minhaj fi Tartib al-Hijaj, the first treatise written in the Islamic west on the science of juristic disputation, and al-Muntaqa, his abridged commentary on Imam Malik’s Muwatta', still studied today. He died in Almería in 1081.