300 or 301 A.
300 or 301 A.H.), the author of the book Firaq al-Shi`ah and al-'Ara' wa al-diyanat; also he was the first to write a book on the subject of al-milal wa al-nihal (study of nations and sects):[^14] The author of Tadrib al-rawi writing about the origins of `ilm 'istilahat al-hadith, says that the first to compile a work on this subject was Qadi Abu Muhammad al-Ramhurmuzi, the author of Kitab muhaddith al-fadil, followed by Hakim Abu `Abd Allah al-Nishaburi, Abu Nu'aym al-'Isfahani, and al-Khatib al-Baghdadi.[^15] In regard to the history of the military campaigns (al-maghazi) of the Prophet (S), which is a part of `ilm al-rijal, the author of Ta'sis al-Shi`ah says that the first to write on this subject was Muhammad ibn Ishaq al-Matlabi.
Elsewhere, he quotes a statement from Khulasat al-'aqwal relating to `Ubayd Allah ibn Abi Rafi', who was 'Ali's scribe, as being the first to write on the Prophet's battles.[^16] This is also confirmed by al-Najashi in his al-Rijal.[^17] Al-Suyuti, however, in his Kitab al-wasa'il fi al-awa'il considers 'Urwah ibn al-Zubayr (d. 94/712-13) as being the pioneer in writing on al-maghazi.
With regard to historiography, according to Kash al-zunun, the first to write on this subject was Muhammad ibn Ishaq (d. 151/768) the forerunner among the writers of al-maghazi. According to al-Suyuti, the first to compile a musnad was Sulayman ibn Dawud Abu Dawud al-Tayalisi.[^18] As to `ilm dirayat al-hadith, the first to write on this subject was Sayyid Jamal al-Din Ahmad ibn Musa ibn Tawus Abu al-Fada'il (d. 673/1274-75), the teacher of `Allamah ibn Mutahhar al-Hilli.
He formulated new Shi'ite terms in hadith (such as al-sahih, al-hasan, al-muwaththaq, and al-da'if).[^19] Kinds of Hadith In general, there are three basic kinds of hadith from the viewpoint of the Ahl al-Sunnah (al-Sahih, al-hasan, and al-da'if), and four basic kinds from the viewpoint of the Shi`ah (al-sahih, al-hasan, al-muwaththaq, and al-da'if). These are further classified both by the Shi`ah and the Ahl al-Sunnah.