ومن تواليف ابن حبيب أيضا، كتاب إعراب القرآن، وكتاب الحسبة في الأمراض وكتاب الفرائض، وكتاب السخاء واصطناع المعرف. وكتاب كراهية الغنا قال بعضهم: فقلت لعبد الملك: كم كتبك التي ألفت؟ قال: ألف كتاب وخمسون كتابا. وقال عبد الأعلى بن معلى: هل رأيت كتبا تحبب عبادة الله الى خلقه، وتعرفهم به، ككتب عبد الملك بن حبيب. يريد كتبه في الرغائب والرهائب. ومنها كتب المواعظ سبعة. وكتب الفضائل سبعة، فضائل النبي صلى الله عليه وسلم، والصحابة. وفضائل عمر بن عبد العزيز. وفضائل مالك بن أنس. وكتاب في أخبار قريش، وأخبارها وأنسابها، خمسة عشر كتابا. وكتاب السلطان، وسيرة الإمام ثمانية كتب. وكتاب الباه والنساء ثمانية كتب. وغير ذلك من كتب سماعاته في الحديث والفقه وتواليف في الطب، وتفسير في القرآن ستون كتابا. وكتاب المغازي والناسخ والمنسوخ ورغائب القرآن، وكتاب الرهون والمغازي والحدثان خمسة وتسعون كتابا، وكتاب مغازي مقام رسول الله صلى الله عليه وسلم، اثنان وعشرون كتابا. وكتاب في النسب، وفي النجوم، وكتاب الجامع، تأليفه. وهي كتب فيها مناسبك النبي صلى الله عليه وسلم، وكتاب الرغائب، وكتاب الورع في العلم، وكتاب
Among the compositions of Ibn Habib too are Kitab iʿrab al-Qurʾan; Kitab al-hisba fi al-amrad; Kitab al-faraʾid; Kitab al-sakhaʾ wa-istinaʿ al-maʿruf; and Kitab karahiyat al-ghinaʾ. Someone said: I said to ʿAbd al-Malik: "How many are the books you have composed?" He said: "One thousand and fifty books." ʿAbd al-Aʿla ibn Muʿalla said: "Have you seen books that make the worship of God beloved to His creatures and make Him known to them, like the books of ʿAbd al-Malik ibn Habib?" — meaning his books on al-raghaʾib and al-rahaʾib (things to be hoped for and things to be feared). Among them are the books of exhortations, seven; the books of merits, seven: the merits of the Prophet, God bless him and grant him peace, and of the Companions, the merits of ʿUmar ibn ʿAbd al-ʿAziz, and the merits of Malik ibn Anas; a book on the reports of Quraysh, their reports and their genealogies, fifteen books; Kitab al-sultan and Sirat al-imam, eight books; Kitab al-bah wa-l-nisaʾ, eight books; and others besides, of the books of his hearings in hadith and fiqh, and compositions in medicine; and a commentary on the Qurʾan, sixty books; and Kitab al-maghazi, al-Nasikh wa-l-mansukh, and Raghaʾib al-Qurʾan; and Kitab al-ruhun [?] wa-l-maghazi wa-l-hidthan, ninety-five books; and Kitab maghazi maqam [?] Rasul Allah, God bless him and grant him peace, twenty-two books; and a book on genealogy, and on the stars; and Kitab al-jamiʿ, his composition, and these are books containing the rites [?] of the Prophet, God bless him and grant him peace; and Kitab al-raghaʾib; Kitab al-waraʿ fi al-ʿilm; and Kitab
الورع في المال، وكتاب الرياء، وكتاب الحكم والعمل بالجوارح وغير ذلك.
al-waraʿ fi al-mal; Kitab al-riyaʾ; Kitab al-hukm wa-l-ʿamal bi-l-jawarih; and others.
ذكر ما تحومل به عليه
Account of what was held against him