على الإطلاق قال في خطبته: وكان الباعث على تأليفه أمورا منها الاقتداء في ذلك بالسلف الصالح وذكر جماعة منهم الحافظ ابن حجر وتلميذه الحافظ السيوطي فإنه ذكر مناقبه في تراجم الفقهاء وفي طبقات المحدثين وطبقات المفسرين وفي طبقات المقرئين وفي طبقات النحاة واللغويين وفي طبقات الصوفية وقال في كتابه: التحدث بالنعمة إنما ذكرت مناقبي اقتداء بالسلف الصالح وتعريفا بحالي في العلم ليأخذه الناس علي وتحدثا بنعمة الله تعالى لا الافتخار على الأقران ولا طالبا الدنيا ومناصبها وجاهها معاذ الله أن أقصد ذلك وأي قدر للدنيا حتى نطلب تحصيلها بما فيه ذهاب الدين واللعنة والطرد عن حضرة الله تعالى. الشعراني وكذلك أقول إني لم أقصد بما ذكرته لك من الأخلاق في هذا الكتاب الافتخار على الأقران معاذ الله أن أهدي إلى حضرته تعالى كتابا مشتملا على ما استحق به اللعن والطرد وهذا هو قصدي الآن وأرجو الله تعالى دوام هذه النية الصالحة إلى الممات وما ذلك على الله بعزيز اه والعبد الفقير قائل بمثل مقاله ناسج على منواله ومنوال أهل الفضل مثله داعيا بدعائه راجيا القبول بمنه وفضله وما ذلك على الله بعزيز.
ʿala al-itlaq. He said in its preface: What moved me to compose it was several things, among them following in that the righteous forebears; and he mentioned a group of them, among them al-Hafiz Ibn Hajar and his student al-Hafiz al-Suyuti; for he mentioned his own virtues in the biographies of the jurists, in the Tabaqat of the hadith scholars, the Tabaqat of the Qurʾan commentators, the Tabaqat of the Qurʾan reciters, the Tabaqat of the grammarians and lexicographers and the Tabaqat of the Sufis; and he said in his book al-Tahadduth bi-l-niʿma: I have mentioned my virtues only in following the righteous forebears, and to make known my state in knowledge so that people may take it from me, and as speaking of the blessing of God Most High; not boasting over my peers, nor seeking this world, its offices and its standing — God forbid that I should intend that! What worth has this world that we should seek to obtain it by what involves the loss of religion, the curse and expulsion from the presence of God Most High? Al-Shaʿrani: And likewise I say that I did not intend, by the qualities I have mentioned to you in this book, boasting over my peers — God forbid that I should present to His presence, Most High, a book containing what would make me deserve the curse and expulsion. This is my intention now, and I hope from God Most High for the continuance of this righteous intention until death, and that is not hard for God. End. And this poor servant says the like of his saying, weaves on his loom and on the loom of the people of excellence like him, praying with his prayer and hoping for acceptance by His grace and favour; and that is not hard for God.
فتشبهوا إن لم تكونوا مثلهم ... إن التشبه بالكرام فلاح
So imitate them, if you are not like them ... imitation of the noble is success.