Letter Alif
8 أحمد بن محمد بن عمر، قاضي القضاة شهاب الدين الخفاجي المصري الحنفيAhmad ibn Muhammad ibn 'Umar, Chief Judge Shihab al-Din al-Khafaji al-Misri al-Hanafi
بدر سماء العلم، وقمر النثر والنظم، قد ترجم لنفسه في آخر كتابه «الريحانة» فقال: قرأت علوم العربية على خالي أبي بكر الشنواني، ثم ترقيت فقرأت علوم المعاني والمنطق ونظرت كتب المذهبين الشافعي وأبي حنيفة، ومن أجل من أخذت عنه شيخ الإسلام محمد الرملي ونور الدين علي الزيادي، وخاتمة الحفاظ إبراهيم العلقمي وعلي بن غانم المقدسي، وممن أخذت عنه الطب الشيخ داود الأنطاكي البصير، ثم ارتحلت مع والدي إلى الحرمين وقرأت ثمة على الشيخ علي بن جار الله وغيره، ثم ارتحلت إلى قسطنطينية وهي إذ ذاك مشحونة بالفضلاء فتشرفت بهم منهم ابن عبد الغني والحبر داود، وهو ممن أخذت عنه الرياضيات.
ومن تآليفي «حواشي تفسير البيضاوي» المسماة بـ «عناية القاضي» و «شرح الشفا» و «شرح درة الغواص» للحريري و «الريحانة» و «الرسائل الأربعين» و «حاشية شرح الفرائض» و «كتاب السوانح» و «الرحلة» و «حواشي الرضى»، انتهى كلامه ملخصا.
قال صاحب «خلاصة الأثر»: وله «شفاء الغليل في ما في كلام العرب من الدخيل» و «ديوان الأدب في ذكر شعراء العرب» وكتاب «طراز المجالس» وله رسائل كثيرة ومكاتبات لم يجمعها، ومقامات ذكر بعضها في «ريحانته».
وكان لما وصل إلى الروم في رحلته الأولى ولي قضاء بلاد روم حتى وصل أعلى المناصب، ثم في زمن السلطان مراد اشتهر بالفضل الباهر فولي قضاء سلانيك ثم أعطي قضاء مصر، وبعدما عزل عنها رجع إلى الروم فمر بدمشق فاعتنى به علماؤها ومدحوه بقصائد، ودخل حلب إثر ذلك ثم وصل إلى مصر فاستقر هناك يؤلف.
وأخذ عنه جماعة مشتهرة منهم السيد أحمد الحموي، واجتمع به والدي في منصرفه إلى مصر وأخذ عنه.
وكانت وفاته يوم الثلاثاء لثنتي عشر خلت من رمضان سنة ١٠٦٩، وقد أناف على التسعين، وكان توفي قبله بثلاثة أشهر الفقيه محمد بن أحمد الشوبري فقال فيهما السيد الأديب أحمد بن محمد الحموي المصري يرثيهما:
مضى الإمامان في فقه وفي أدب ۞ الشوبري والخفاجي زينة العرب
وكنت أبكي لفقد الفقه منفردا ۞ فصرت أبكي لفقد الفقه والأدب
والخفاجي نسبة إلى أبيه خفاجي ولا أدري ما معناه، وأصل والده من «سرياقوس» قرية من قرى الخانقاه، انتهى كلامه ملخصا.
قلت: قد طالعت من تأليفاته «شرح الشفا» المسمى بـ «نسيم الرياض» و «حواشي تفسير البيضاوي» وفيهما فوائد لطيفة ومباحث شريفة.
Show English translation
The full moon of the sky of learning and the moon of prose and verse. He wrote his own biography at the end of his book al-Rayhana, saying: I read the Arabic sciences with my maternal uncle Abu Bakr al-Shanawani; then I advanced and read the sciences of rhetoric (ma'ani) and logic, and studied the books of the two schools, al-Shafi'i and Abu Hanifa. Among the most eminent of those from whom I took are Shaykh al-Islam Muhammad al-Ramli and Nur al-Din 'Ali al-Ziyadi, and the seal of the hafizes Ibrahim al-'Alqami, and 'Ali ibn Ghanim al-Maqdisi; and among those from whom I took medicine is the shaykh Dawud al-Antaki al-Basir. Then I travelled with my father to the Two Sanctuaries and read there with the shaykh 'Ali ibn Jar Allah and others. Then I travelled to Qustantiniyya, which at that time was filled with men of excellence, and I was honoured [to meet] them, among them Ibn 'Abd al-Ghani and the learned Dawud, who is among those from whom I took the mathematical sciences.
Among my compositions are Hawashi Tafsir al-Baydawi, named 'Inayat al-Qadi; and Sharh al-Shifa; and Sharh Durrat al-Ghawwas of al-Hariri; and al-Rayhana; and al-Rasa'il al-Arba'in; and Hashiyat Sharh al-Fara'id; and Kitab al-Sawanih; and al-Rihla; and Hawashi al-Radi. His words end, abridged.
The author of Khulasat al-Athar said: He also has Shifa' al-Ghalil fi ma fi Kalam al-'Arab min al-Dakhil, and Diwan al-Adab fi Dhikr Shu'ara' al-'Arab, and the book Tiraz al-Majalis; and he has many treatises and letters which he did not collect, and maqamas, some of which he mentioned in his Rayhana.
When he arrived in Rum on his first journey, he was appointed to the judgeship of [various] towns of Rum until he reached the highest posts. Then, in the time of Sultan Murad, he became famous for dazzling excellence and was appointed to the judgeship of Salonica, then he was given the judgeship of Egypt. After he was dismissed from it he returned to Rum; he passed through Damascus and its scholars paid him attention and praised him in odes; after that he entered Aleppo, then reached Egypt and settled there, composing.
A well-known group took from him, among them al-Sayyid Ahmad al-Hamawi. My father met him on his way back to Egypt and took from him.
His death was on Tuesday, when twelve [nights] had passed of Ramadan, in the year 1069, having passed ninety. Three months before him the jurist Muhammad ibn Ahmad al-Shawbari had died, and the sayyid, the man of letters Ahmad ibn Muhammad al-Hamawi al-Misri, said of the two, elegising them:
The two imams in jurisprudence and in letters have passed away ... al-Shawbari and al-Khafaji, the adornment of the Arabs.
I used to weep for the loss of jurisprudence alone ... and now I weep for the loss of jurisprudence and letters.
Al-Khafaji is an ascription to his father Khafaji, and I do not know what it means. His father's origin was from «Siryaqus», one of the villages of al-Khanqah. His words end, abridged.
I say: I have read among his compositions Sharh al-Shifa, named Nasim al-Riyad, and Hawashi Tafsir al-Baydawi; in both are subtle benefits and noble discussions.
People in this report (2)
Source · Beirut 1998, p. 429–430 · Block 8
'Abd al-Hayy al-Laknawi, Tarab al-amathil bi-tarajim al-afadil, printed with al-Fawa'id al-bahiyya and al-Ta'liqat al-saniyya, ed. Ahmad al-Zu'bi, Beirut: Dar al-Arqam, 1418/1998, pp. 423–573.