The dataset viewer should be available soon. Please retry later.
Dataset Card for QuranLab — Hadith & Sunnah (Ahl al-Sunnah)
A clean Ahl-al-Sunnah hadith corpus: the canonical Sunni collections (the Six Books + the
Muwaṭṭaʾ, Musnad Aḥmad, al-Dārimī, and the famous forty-collections) in Arabic plus many
translations, with grader-attributed gradings and honest per-row provenance — one config per
(collection × language). This is the audio/text family's hadith modality — companion to
quranlab/quran (Qurʾan text) and
quranlab/quran-audio (recitation).
QuranLab is a volunteer, non-commercial, community-service project. This dataset is offered freely to students, researchers, and developers building tools for studying the Sunnah of the Prophet ﷺ. It is strictly Ahl al-Sunnah wa'l-Jamāʿah: sources outside Sunni orthodoxy (the Shia canon, Ibāḍī, Ahmadiyya, hadith-rejecter framings) are excluded by design.
What's inside
13 collections — Arabic + translations + grades. Most collections (the Six Books, the
Muwaṭṭaʾ and the forty-collections) come aligned across languages with multi-grader gradings from
fawazahmed0/hadith-api; Musnad Aḥmad and al-Dārimī
are Arabic matn from the open mhashim6/Open-Hadith-Data
(ODbL-1.0/DbCL-1.0); plus a many-language graded selection from HadeethEnc:
| collection | name | author | type | hadith | languages | graded |
|---|---|---|---|---|---|---|
ahmad |
Musnad Ahmad (مسند أحمد) | Ahmad ibn Hanbal, d. 241 AH | musnad | 26,363 | 1 | — |
darimi |
Sunan al-Darimi (سنن الدارمي) | Abd Allah ibn Abd al-Rahman al-Darimi, d. 255 AH | sunan | 3,367 | 1 | — |
bukhari |
Sahih al-Bukhari (صحيح البخاري) | Muhammad ibn Ismail al-Bukhari, d. 256 AH | sahih | 7,580 | 9 | — |
muslim |
Sahih Muslim (صحيح مسلم) | Muslim ibn al-Hajjaj al-Naysaburi, d. 261 AH | sahih | 7,360 | 9 | — |
abudawud |
Sunan Abi Dawud (سنن أبي داود) | Abu Dawud al-Sijistani, d. 275 AH | sunan | 5,272 | 8 | ✅ |
tirmidhi |
Jami' al-Tirmidhi (جامع الترمذي) | Muhammad ibn Isa al-Tirmidhi, d. 279 AH | jami | 3,924 | 6 | ✅ |
nasai |
Sunan an-Nasa'i (al-Mujtaba) (سنن النسائي (المجتبى)) | Ahmad ibn Shu'ayb al-Nasa'i, d. 303 AH | sunan | 5,679 | 7 | ✅ |
ibnmajah |
Sunan Ibn Majah (سنن ابن ماجه) | Muhammad ibn Yazid Ibn Majah, d. 273 AH | sunan | 4,338 | 7 | ✅ |
malik |
Muwatta Malik (موطأ مالك) | Malik ibn Anas, d. 179 AH | muwatta | 1,829 | 7 | ✅ |
nawawi |
Forty Hadith of al-Nawawi (الأربعون النووية) | Yahya ibn Sharaf al-Nawawi, d. 676 AH | forty | 42 | 5 | — |
qudsi |
Forty Hadith Qudsi (الأربعون القدسية) | (compilation) | forty-qudsi | 40 | 3 | — |
dehlawi |
Forty Hadith of Shah Wali Allah al-Dihlawi (الأربعون للشاه ولي الله الدهلوي) | Shah Wali Allah al-Dihlawi, d. 1176 AH | forty | 40 | 3 | — |
hadeethenc |
HadeethEnc — graded multilingual selection (موسوعة الأحاديث النبوية المترجمة) | IslamHouse / Saudi Ministry of Islamic Affairs | graded-selection | 3,574 | 72 | ✅ |
On grading. Gradings are grader-attributed, never asserted by us, and never auto-stamped. The four Sunan, the Muwaṭṭaʾ and the forty-collections (from fawazahmed0) carry per-hadith gradings from multiple muḥaddiths (al-Albānī, Aḥmad Shākir, Zubair ʿAlī Zaʾī, …) in the
gradescolumn; every HadeethEnc row carries a grade + attribution. The two Ṣaḥīḥs are ṣaḥīḥ by Sunni consensus (a collection-level note in thecollectionsconfig). The Arabic matn of Musnad Aḥmad and al-Dārimī (mhashim6) is left ungraded — we don't hold per-hadith grades for it, so we assert none.
Graded multilingual layer — HadeethEnc (72 languages)
In addition to the Arabic Nine Books, this dataset includes 3,574 curated, authentic prophetic
hadith in 72 languages from HadeethEnc.com (the Encyclopedia of
Translated Prophetic Hadiths — a service of IslamHouse / the Saudi Ministry of Islamic Affairs), one
config per language (hadeethenc-<lang>). Unlike the Arabic matn spine, every HadeethEnc hadith
carries a grade and an attribution (e.g. Authentic, Agreed upon), reproduced verbatim with
attribution and version. Each row: hadith_key, hadeethenc_id, language, title, text, intro, grade, grader, grade_source, attribution_text, explanation, status, theological_status, source, license, attribution. Reproduced under HadeethEnc's open-with-attribution terms; removal on request.
Quick start
from datasets import load_dataset
# Default: a slim cross-collection index of every hadith
index = load_dataset("quranlab/hadith")
# One collection — Arabic, and an aligned translation (join on hadith_number)
bukhari_ar = load_dataset("quranlab/hadith", "bukhari-ar", split="train")
bukhari_en = load_dataset("quranlab/hadith", "bukhari-en", split="train")
# A graded Sunan — the `grades` column carries multiple muhaddith verdicts
tirmidhi = load_dataset("quranlab/hadith", "tirmidhi-en", split="train")
# The collection registry (authors, types, counts, languages, status notes)
collections = load_dataset("quranlab/hadith", "collections", split="train")
# Graded, multilingual selection (HadeethEnc) — e.g. English / Turkish
he_en = load_dataset("quranlab/hadith", "hadeethenc-en", split="train")
he_tr = load_dataset("quranlab/hadith", "hadeethenc-tr", split="train")
Within a fawazahmed0-sourced collection, the Arabic and each translation align by hadith_number
(the standard Abdul-Baqi / sunnah.com numbering). The primary keys are hadith_key
("{collection}:{number}", citable) and urn (a stable unique integer per row).
Structure & fields
index(default) — slim cross-collection spine (one row per hadith, Arabic):hadith_key, urn, seq, collection, collection_type, hadith_number, language, n_languages, n_chars, has_grade, has_text.collections— one row per collection: id, names (ar/en), author, death year (AH), type, school, hadith count,languages,n_languages,graded,numbering,source,status_note.{collection}-{lang}— one config per (collection × language). fawazahmed0 collections carry:hadith_key, urn, seq, collection, language, hadith_number, number_sort, book_number, in_book_number, text, grades(a list of{grader, grade}),n_grades, grade_summary, numbering, status, theological_status, source, license, attribution, commercial_ok. mhashim6 Arabic (ahmad-ar,darimi-ar) is matn-only (ungraded). HadeethEnc (hadeethenc-{lang}) addstitle, intro, grade, grader, grade_source, attribution_text, explanation.
hadith_number is a string (numbering follows the source edition); urn is the unique row id;
seq is a contiguous 1..N spine within each edition.
Scope, sources & licensing
- Theology: strictly Ahl al-Sunnah. Excluded by design (see the project's governance): the Shia Four Books and other Shia/Ismāʿīlī collections, Ibāḍī (Musnad al-Rabīʿ), Ahmadiyya, Quranist/hadith-rejecter sources, and hostile-orientalist grade framings.
- Arabic matn: public domain. Musnad Aḥmad & al-Dārimī from
mhashim6/Open-Hadith-Data(ODbL-1.0/DbCL-1.0); the other collections' Arabic viafawazahmed0/hadith-api(PD matn, standard numbering).commercial_ok = truefor Arabic. - Translations (full collections): included for many languages via
fawazahmed0/hadith-api. Translations + gradings are © their authors (translators / publishers such as Darussalam; the muḥaddith graders) → per-row reference-only + attribution + notice-and-takedown; the Unlicense on the source repo covers only its code, not these.commercial_ok = false. - Graded multilingual selection: verbatim, version-pinned hadith from HadeethEnc.com (IslamHouse / Saudi Ministry of Islamic Affairs) — many languages, each with a grade + attribution — reproduced under their open-with-attribution terms.
- Roadmap: more Tier-2/3 collections, a per-hadith cross-collection
xrefgraph, and arijāl(narrator) layer. Binding terms are always stated per row (license,source,attribution).
For rights holders. To request removal of any row, please open the dataset's Community (Discussions) tab; we act on such requests promptly.
Acknowledgments
With gratitude to mhashim6/Open-Hadith-Data for
the open Arabic matn, and to the scholars and institutions who have preserved and transmitted the
Sunnah across the centuries. Above all, this is offered seeking the pleasure of Allah.
Citation
@misc{quranlab_hadith_2026,
title = {QuranLab --- Hadith (Ahl al-Sunnah): the Nine Books},
author = {{QuranLab}},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/quranlab/hadith}}
}
Offered freely as a service to the worldwide community of learners — that the Sunnah of the Prophet ﷺ be a little easier to study, build with, and share. May it be of benefit.
- Downloads last month
- -