Badr al-Din al-Ayni

Died
855 AH
Born in
-

Badr al-Din al-Ayni (762–855 AH / 1361–1451 CE) was a Hanafi jurist, hadith scholar, and historian based in Mamluk Cairo . He served as the chief Hanafi judge of Egypt and is widely known for his multi-volume commentary on Sahih al-Bukhari, Umdat al-Qari, and his expansive universal chronicle, Iqd al-Juman fi Tarikh Ahl al-Zaman .

Early Life and Education

He was Abu Muhammad—and Abu al-Thana'—Mahmud ibn Ahmad ibn Musa ibn Ahmad ibn Husayn ibn Yusuf ibn Mahmud al-Ayntabi al-Halabi al-Qahiri . His family originated from Aleppo, and his father, Shihab al-Din Ahmad, served as a judge in Ayntab (modern Gaziantep), where al-Ayni was born in the Darb Kaykin quarter . Sources give conflicting dates for his birth in Ramadan 762 AH: al-Ayni recorded it in his own hand as 26 Ramadan, another report from him places it on 17 Ramadan, and Ibn Hajar al-Asqalani recorded from him that he was born in the middle of Ramadan .

Al-Ayni was raised in Ayntab, memorized the Quran in his youth, and studied Islamic jurisprudence under his father, later serving as his deputy judge . Following his father's death in 784 AH, he pursued further studies across various cities, traveling to Aleppo in 783 AH, as well as to Behisni, Kakhta, and Malatya . In 788 AH, he visited Jerusalem, where he met Ala' al-Din al-Sirami, the head of the Zahiriyya Madrasa in Cairo, who brought him to Cairo and appointed him among its resident Sufis . He also traveled to Damascus and performed the pilgrimage to Mecca .

Among his prominent teachers were Jamal al-Din Yusuf al-Malti in Aleppo, Jibril ibn Salih al-Baghdadi, Zayn al-Din al-Iraqi, Siraj al-Din al-Bulqini, and Nur al-Din al-Haythami .

Public Career and Imperial Service

After settling in Cairo, al-Ayni established ties with leading Mamluk amirs and successive sultans, benefiting from his fluency in both Arabic and Turkish . In 801 AH, he was appointed inspector of markets (muhtasib) of Cairo, replacing the historian Taqi al-Din al-Maqrizi, initiating a prolonged professional rivalry between the two . He was dismissed and reinstated to the office multiple times over the subsequent decades . He was also appointed supervisor of pious endowments (nazir al-ahbas), and taught hadith at the Mu'ayyadiyya Madrasa and jurisprudence at the Mahmudiyya Madrasa .

Al-Ayni reached the peak of his political influence during the reign of Sultan al-Ashraf Barsbay (r. 825–841 AH), becoming his close advisor, table companion, and tutor . He read historical works to the sultan in Arabic and translated and explained them in Turkish, and answered his inquiries regarding religious doctrine and worship; Barsbay reportedly remarked that had it not been for al-Ayni, their Islam would have been deficient . Barsbay appointed him chief Hanafi judge of Egypt in 829 AH, and although he was briefly removed in 833 AH, he was restored to the judgeship in 835 AH, holding the posts of chief judge, inspector of markets, and supervisor of endowments simultaneously .

In 842 AH, under Sultan Jaqmaq, al-Ayni was dismissed from the chief judgeship and replaced by Sa'd al-Din ibn al-Dayri, whereupon he retired to his home and devoted his remaining years to teaching, research, and writing .

Scholarly Standing and Reception

Al-Ayni was described as short in stature, dark-complexioned, with a flowing beard . Contemporaries and later biographers recognized him as one of the foremost scholars of his generation. His student, the historian Ibn Taghribirdi, lauded him as the unique authority of his time and the pillar of historians . Al-Sakhawi noted his mastery in grammar, morphology, lexicography, and history, remarking that he produced more works than almost anyone of his era other than Ibn Hajar al-Asqalani, and concluded that no one quite like him was left behind after his death . Students from all legal schools studied under him .

Alongside his hadith and historical treatises, his legal scholarship included al-Binaya Sharh al-Hidaya, an extensive commentary on al-Marghinani's standard Hanafi manual . His career was marked by vigorous intellectual competition with contemporaries, particularly Ibn Hajar, with whom he engaged in critical exchanges over their respective commentaries on Sahih al-Bukhari, and al-Maqrizi, arising from their overlapping roles in market supervision and administrative office .

Death

Al-Ayni died on the night of Tuesday, 4 Dhu al-Hijjah 855 AH (late December 1451 CE) in Cairo . His funeral prayer was performed the following day at al-Azhar Mosque, led by al-Munawi, and he was buried in the madrasa he had founded opposite his residence near al-Azhar .

Answer updated

List of Works

  • Nukhab al-Afkar fi Tanqih Mabani al-Akhbar fi Sharh Maani al-Athar is an extensive commentary on Abu Ja'far al-Tahawi's Sharh Maani al-Athar. It serves as an expanded revision of the earlier commentary Mabani al-Akhbar, combining legal and linguistic analysis, hadith cross-referencing, and structural assessments with comprehensive biographical evaluations of every narrator in the transmission chains.

  • Maghani al-Akhyar fi Sharh Asami Rijal Maani al-Athar is a biographical dictionary dedicated to evaluating the transmitters who appear in Abu Ja'far al-Tahawi's hadith compilation Sharh Maani al-Athar. The work serves as a specialized reference in transmitter criticism and hadith terminology, distinguishing reliable narrators from weak ones across the collection's chains of transmission.

  • 'Iqd al-Juman fi Ta'rikh Ahl al-Zaman [565–628 AH] is the section of a universal chronicle dedicated to the Ayyubid era, spanning from 565 AH (1169 CE) through 628 AH (1231 CE). Following an annalistic structure, it offers a broad overview of political and military developments, including the rise of Salah al-Din al-Ayyubi, the Crusader campaigns, and subsequent power struggles and shifting alliances among his successors, alongside annual necrologies.

  • Sharh Sunan Abi Dawud is an incomplete commentary on Sunan Abi Dawud. Commenced in 805 AH, the surviving portion covers the Book of Purification, the Book of Prayer, the Book of Funerals, and the majority of the Book of Zakat. The work combines brief explanations of chapter headings with transmission chain analysis, narrator biographies, lexical explanations, and the extraction of Hanafi legal rulings.

  • Umdat al-Qari Sharh Sahih al-Bukhari is an extensive commentary on Muhammad ibn Ismail al-Bukhari's hadith collection Sahih al-Bukhari, written between 821 AH and 847 AH. Organized under labeled thematic headings, it presents the full text of each hadith alongside correlation analysis, narrator biographies, cross-referencing, linguistic parsing, rhetorical examination, and the comparative derivation of legal rulings.