Islam basics

What is a hadith? A simple guide

A hadith is a report of what the Prophet ﷺ said, did or approved. It is the second source of Islam after the Quran. This page explains how hadith work, and leads to everything on AmalKit that uses them.

Guide

Hadith meaning, in plain words

The Arabic word hadith means speech, or a piece of news. In Islam, a hadith is a report about the Prophet Muhammad ﷺ: something he said, something he did, or something done in front of him that he approved. The plural is often written ahadith, though in English "hadith" is used for both. Muslims read hadith to learn how to live the Quran, including how to pray, fast, give and treat people.

Hadith and Sunnah are close but not the same. The Sunnah is the Prophet's ﷺ way, and hadith are the reports through which we know most of it. See what is the Sunnah, and Quran vs hadith for how the two main sources relate.

Isnad and matn: the two parts of a hadith

Every hadith has two parts. The isnad is the chain of people who passed it on. The matn is the text itself. Here is the very first hadith in Sahih al-Bukhari, chain and text together:

حَدَّثَنَا الْحُمَيْدِيُّ عَبْدُ اللَّهِ بْنُ الزُّبَيْرِ ، قَالَ : حَدَّثَنَا سُفْيَانُ ، قَالَ : حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ الْأَنْصَارِيُّ ، قَالَ : أَخْبَرَنِي مُحَمَّدُ بْنُ إِبْرَاهِيمَ التَّيْمِيُّ ، أَنَّهُ سَمِعَ عَلْقَمَةَ بْنَ وَقَّاصٍ اللَّيْثِيَّ ، يَقُولُ : سَمِعْتُ عُمَرَ بْنَ الْخَطَّابِ رَضِيَ اللَّهُ عَنْهُ عَلَى الْمِنْبَرِ، قَالَ : سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ، يَقُولُ : إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ، وَإِنَّمَا لِكُلِّ امْرِئٍ مَا نَوَى، فَمَنْ كَانَتْ هِجْرَتُهُ إِلَى دُنْيَا يُصِيبُهَا أَوْ إِلَى امْرَأَةٍ يَنْكِحُهَا، فَهِجْرَتُهُ إِلَى مَا هَاجَرَ إِلَيْهِ

Sahih al-Bukhari 1

The isnad: al-Bukhari heard it from al-Humaydi, from Sufyan, from Yahya ibn Sa'id al-Ansari, from Muhammad ibn Ibrahim at-Taymi, from Alqamah ibn Waqqas al-Laythi, from Umar ibn al-Khattab, on the pulpit, from the Prophet ﷺ.

The matn, in meaning: Deeds are only by intentions, and each person has only what he intended. Whoever emigrated for some worldly gain or to marry a woman, his emigration is for what he emigrated for. (This is our plain meaning. The full wording is at hadith 1 of the 40 Nawawi.)

Sahih, hasan and da'if: how hadith are graded

Hadith scholars tested each chain by checking who each narrator was, how reliable and how precise each one was, and whether each really met or could have heard the one before.

GradeWhat it meansIs it used?
Sahih (sound)An unbroken chain of trustworthy, precise narrators, with no hidden flaw and no conflict with stronger reports.Yes, for belief and law.
Hasan (good)Like sahih, but a narrator's precision is a little lower.Yes, as evidence.
Da'if (weak)A break in the chain, or a narrator with a problem.Not for rulings on its own. Many scholars allow it for encouraging good deeds, with conditions.
Mawdu' (fabricated)Falsely attributed to the Prophet ﷺ.Never, except to warn against it.

Scholars do not always agree on a grade, and our pages show this where it applies. For example, some hadith in the 40 Hadith of Imam Nawawi are graded differently by different critics.

Two more terms to know

  • Mutawatir and ahad: a mutawatir report is passed on by so many people that error is ruled out. An ahad report has fewer narrators, and most hadith are ahad.
  • Mursal: a report in which a Successor quotes the Prophet ﷺ directly, without naming the Companion.
Hanafi approach

Abu Hanifa and the Hanafi school accept a mursal report as evidence when its narrator is trustworthy. Ibn al-Qayyim says the school prefers even a weak hadith over analogy, though other scholars question how far that goes.

Other madhhabs
Maliki
Also accepts the mursal of a trustworthy narrator, and sources describe conditions differently.
Shafi'i
Accepts it only with supporting conditions.
Hanbali
Reports differ from Imam Ahmad.

Who wrote hadith?

Hadith have no single author. Companions memorised and passed on what they saw, and some also wrote it down. Abu Hurayrah said that Abdullah ibn Amr used to write while he did not (Sahih al-Bukhari 113). An early report also forbids writing anything but the Quran (Sahih Muslim 3004), and scholars usually explain that this was early on, or to avoid mixing with the Quran. Abdullah ibn Amr was later told to write (Sunan Abi Dawud 3646).

Systematic collection grew from around 100 AH, when Caliph Umar ibn Abd al-Aziz ordered it, as al-Bukhari notes in his book of knowledge. The great books came in the 3rd Islamic century. See the books of hadith for who compiled each.

How many hadith are there?

There is no single number, since it depends on what you count. A report with five chains counts as five in some books and one in others. Sahih al-Bukhari has 7,563 numbered entries, but only about 2,600 without repeats. Musnad Ahmad has around 28,000. So the honest answer is many tens of thousands of reports, across many books, with far fewer distinct hadith.

How to check a hadith you see online

  1. Look for a named collection, and a number if there is one. "Prophet ﷺ said" with no source is a warning sign.
  2. Check the grade. It is not enough to be in a book.
  3. Be careful with very long lists of rewards, and with sayings that sound too neat. Many popular ones have no chain. Our hadith by topic pages list common weak sayings.

Sources

  1. Definitions: standard works of hadith terminology, such as Ibn as-Salah's Muqaddimah.
  2. Hadith Arabic and numbers: the fawazahmed0 hadith-api dataset.
  3. Counts: see books of hadith for each count and its source.

Reviewed by Hafez Mawlana Abu Darda and Mawlana Akramul Haque Fenwi, Islamic scholars. For a more accurate answer to your own situation, consult a scholar.

Questions

Good to know

What is the meaning of hadith?

The word means speech or news. In Islam it is a report of what the Prophet ﷺ said, did or approved.

Who wrote the hadith?

No single author. Companions passed them on by memory and some in writing, and later scholars such as al-Bukhari and Muslim gathered them into books, with the chain of narrators for each report.

How many hadith are there?

There is no single number. Sahih al-Bukhari alone has 7,563 numbered entries with repeats, and Musnad Ahmad has around 28,000, but many of these repeat each other.

What is the difference between hadith and Sunnah?

The Sunnah is the Prophet's ﷺ way of life. Hadith are the reports through which we learn it.

Are all hadith true?

No. That is why they are graded. Sahih and hasan reports are accepted, weak ones are treated with caution and fabricated ones are rejected.

Do Muslims have to follow hadith?

Yes, in mainstream Islam: the Quran commands obedience to the Messenger. See Quran vs hadith.

Not answered here? Ask our team.