According to his traditional biographers, Averroes's education was "excellent", beginning with studies in hadith (traditions of the Islamic prophet Muhammad), fiqh (jurisprudence), medicine and theology. He learned Maliki jurisprudence under al-Hafiz Abu Muhammad ibn Rizq and hadith with Ibn Bashkuwal, a student of his grandfather. His father also taught him about jurisprudence, including on Imam Malik 's magnum opus the Muwatta, which Averroes went on to memorize. He studied medicine under Abu Jafar Jarim al-Tajail, who probably taught him philosophy too. He also knew the works of the philosopher Ibn Bajjah (also known as Avempace), and might have known him personally or been tutored by him. He joined a regular meeting of philosophers, physicians and poets in Seville which was attended by philosophers Ibn Tufayl and Ibn Zuhr as well as the future caliph Abu Yusuf Yaqub. He also studied the kalam theology of the Ashari school, which he criticized later in life. His 13th-century biographer Ibn al-Abbar said he was more interested in the study of law and its principles (usul) than that of hadith and he was especially competent in the field of khilaf (disputes and controversies in the Islamic jurisprudence). Ibn al-Abbar also mentioned his interests in "the sciences of the ancients", probably in reference to Greek philosophy and sciences.