Abū 'Abd-Allāh Ibn al-Azraq (Arabic: ابن الأزرق‎) was a Muslim jurist born in Málaga, Al Andalus in 1427.[1]

Educated in law in Málaga and Granada, he became a judge in Guadix, Málaga, and finally became the Supreme Judge of Granada under Sultan Abu al-Hasan.[1] Ibn al-Azraq wrote a book on statecraft, in which he commented the work of Ibn Khaldun, entitled Marvel of State conduct, and the nature of authority.[1]

In 1487, he was sent by the Nasrid dynasty as an envoy to Mamluk Egypt, in order to obtain help against the Spanish offensive against Granada.[2][3][4] At the same time, two envoys were sent to the Ottoman Empire, with the same request for help, one from Xàtiva, and a certain Pacoret from Paterna.[2] As his mission was fruitless, he remained in the Orient, and became judge in Jerusalem in 1491.[1] He died the same year after a few months.[1]