وتوفي عن سن عالية، رحل للحج في سنة ثلاثين وحضر بمصر املاء ابن حجر واستجاز ابن حجر فأجازه، وحضر أيضا درس العلامة البساطي، له تعليق عن ابن الحاجب الفرعي، أرجوزة تتعلق بالصوفية في اجتماعهم على الذكر وغيره، أخذ عنه جماعة منهم أبو البركات النالي وولده أبو القاسم العقباني وحفيده محمد ابن أحمد والعلامة ابن زكري والكفيف ابن مرزوق وأبو العباس الونشريسي ومن تقدم ذكرد في خلق، وسبق ترجمة والده وولديه أحمد وإبراهيم، وسيأتي حفيده القاضي محمد.
He died at an advanced age. He travelled for the pilgrimage in the year 30, attended in Egypt the dictation sessions of Ibn Hajar, and asked Ibn Hajar for an ijaza, which he granted him. He also attended the lesson of the most learned al-Basati. He has a commentary (taʿliq) on Ibn al-Hajib's al-Farʿi, and an urjuza concerning the Sufis in their gathering for dhikr and other things. A group took from him, among them Abu al-Barakat al-Nali, his son Abu al-Qasim al-ʿUqbani, his grandson Muhammad ibn Ahmad, the most learned Ibn Zakri, al-Kafif Ibn Marzuq, Abu al-ʿAbbas al-Wansharisi, and those whose mention [?] has preceded, among a great many. The biographies of his father and of his two sons Ahmad and Ibrahim have come before, and his grandson the qadi Muhammad will come.