Yes, in the mainstream scholarly view the Sunna is a form of revelation, but it is unrecited revelation (wahy ghayr matluw) and differs from the Qur'an, which is recited revelation, in wording and in status.
- The evidence includes the verse that the Prophet (saw) does not speak from desire but it is a revelation revealed (53:3 to 4), and the verses that speak of the Book and the wisdom (hikma), which al-Shafi'i and others explained as the Sunna.
- Not every action of the Prophet (saw) was legislation: he also acted as a human being, and scholars discuss his personal habits and worldly opinions, as well as matters where revelation corrected his choice.
- The word hadith means the report of what he said, did or approved, so the report is not itself revelation, though its content may be, and its authenticity must be established.
- Scholars differ on whether all of his legal rulings came by revelation or some by his own ijtihad, which was confirmed or corrected by revelation.
Introduction
The question asks whether hadiths are part of revelation or merely the actions of Muhammad (saw). The answer needs some terms: revelation (wahy), the Sunna, which is what is reported from the Prophet (saw) in word, action and approval, and hadith, the report in which it is narrated. Scholars hold that the Sunna is revelation in its source, but a distinct category from the Qur'an.
Allah says: Nor does he speak from his own inclination. It is only a revelation revealed (53:3 to 4).
The texts
Besides 53:3 to 4, there are verses on the Book and the wisdom. Allah has sent down to you the Book and the wisdom (4:113), and Remember what is recited in your homes of the verses of Allah and the wisdom (33:34). Since the wisdom is mentioned apart from the Book and is also sent down, al-Shafi'i in al-Risala argued that it must be the Sunna, a view followed by Qatada and others, as al-Tabari reports in his commentary on 2:129. The verse 16:44 says: We sent down to you the reminder so that you may explain to the people what was sent down to them, which gives the Prophet (saw) the task of explaining, and the Qur'an commands obedience to him in 4:80 and 59:7.
The Prophet (saw) said: indeed I have been given the Qur'an and with it something like it (Sunan Abi Dawud and Musnad Ahmad, hadith of al-Miqdam ibn Ma'dikarib, graded sahih by al-Albani), and he warned of people who would say that they follow only what is in the Qur'an. The Prophet (saw) also said that Jibril would come down with the Sunna as he came down with the Qur'an, a statement of Hassan ibn 'Atiyya reported by al-Darimi, which is a statement of a follower and not a hadith of the Prophet (saw), although its meaning is accepted by many scholars.
Two kinds of revelation
Scholars such as Ibn Hazm in al-Ihkam fi Usul al-Ahkam and Ibn Taymiyya divide revelation into the recited (matluw), which is the Qur'an, whose exact wording is from Allah and is a miracle and an act of worship to recite, and the unrecited (ghayr matluw), which is the Sunna, whose meaning is inspired and whose wording is the Prophet's. Ibn Hazm held that all of the Prophet's religious statements were by revelation. A special group, the sacred hadith (hadith qudsi), has its meaning from Allah and its wording from the Prophet (saw), according to the majority of scholars, and is distinct from the Qur'an in rules such as recitation in prayer and purity.
The way the Prophet (saw) received revelation is described in the hadith of Aisha (ra) in Sahih al-Bukhari, in which the angel came like the ringing of a bell, and sometimes in the form of a man. This is revelation that the Prophet (saw) understood and conveyed in words.
Not every act was legislation
The Prophet (saw) was a human being, and scholars distinguish his roles as messenger, judge, ruler and individual. Al-Qarafi in al-Furuq and Ibn 'Ashur in Maqasid al-Shari'a discuss this. The Prophet (saw) said about the pollination of date palms that he thought it was unnecessary, and then the yield was poor, and he said: I am only a human being; if I command you something of your religion take it, but if I command you something from my own opinion, I am only a human being; you know best the affairs of your world (Sahih Muslim, hadith of Rafi' ibn Khadij and of Anas). Therefore worldly knowledge, such as agriculture and medicine from his opinion, is not binding as religion, while the Prophet (saw) is infallible in conveying the message.
Another example is the choice of the camp at Badr: the Companion al-Hubab ibn al-Mundhir (ra) asked whether it was a place Allah had revealed or an opinion and strategy, and the Prophet (saw) took his advice (reported in the biographies of Ibn Ishaq, with a chain that scholars discuss). The Prophet (saw) also took ransoms for the prisoners of Badr, and revelation corrected the matter: It is not for a prophet to take captives until he has fought strongly in the land (8:67). The scholars infer that where his ijtihad was wrong, revelation did not leave it so. This is the basis of the rule that what the Prophet (saw) conveyed and was left standing is protected.
The scholarly positions
Scholars gave two main answers on the relation between Sunna and revelation. The first, held by al-Shafi'i, Ibn Hazm, and many theologians, is that all that the Prophet (saw) said in religion was by revelation, with the Sunna as inspired. The evidence is 53:3 to 4. The second, held by many scholars of legal theory such as al-Amidi in al-Ihkam and al-Shawkani in Irshad al-Fuhul, is that some of his legal rulings came by revelation and some by his ijtihad, to which he was entitled, and which was either confirmed or corrected, so that what remained uncorrected has the force of revelation. The practical result is the same: the Sunna is binding proof, as the verses on obedience show. Those who deny the authority of the Sunna altogether, a position taken by small modern groups called Qur'an-only (Quraniyyun), are contradicted by the Qur'an itself, which in 59:7 says: Whatever the Messenger gives you, take it, and whatever he forbids you, abstain from it.
Another matter is the status of reports. A hadith is the narration, and not all that is narrated is authentic. Scholars grade reports as sahih, hasan or da'if after studying the narrators and the chain, in the science of hadith ('ulum al-hadith) set out by Ibn al-Salah in his Muqaddima, so one should say that authentic hadiths are the preserved record of the Sunna, and not that every hadith is revelation. The Prophet's actions of habit, such as the clothes of his time or his preference of food, are discussed under the term jibilli, and scholars differ on whether following them is recommended, with Ibn 'Umar (ra) known for imitating even these, while the majority regard them as permissible without special reward unless intended as love.
Conclusion
The Sunna is revelation in the sense that its meaning comes from Allah and it was guarded by Him, though it is unrecited and distinct from the Qur'an. The Prophet (saw) was also a human being in worldly matters, so scholars distinguish carefully between his role as messenger and his personal choices, and they judge the reports by chains of transmission.
References
Qur'an 4:80, 4:113, 8:67, 16:44, 33:34, 53:3, 53:4, 59:7
Sahih Muslim: hadith on date-palm pollination; Sunan Abi Dawud and Musnad Ahmad: hadith of al-Miqdam ibn Ma'dikarib; Sahih al-Bukhari: hadith of Aisha on the coming of revelation
al-Shafi'i, al-Risala; Ibn Hazm, al-Ihkam fi Usul al-Ahkam; al-Amidi, al-Ihkam fi Usul al-Ahkam; al-Shawkani, Irshad al-Fuhul; al-Qarafi, al-Furuq; Ibn al-Salah, Muqaddima