Team Ai
Datasetpublic

meeAtif/hadith_datasets

Sunnah Dataset — Hadith JSON & CSV Collection An open-source collection of authenticated Hadiths from the six major books of Sunnah, available in both JSON and CSV formats for research, study, and teaching purposes. This dataset is structured cleanly with English + Arabic + grading + reference links for each Hadith. Contents This dataset contains the following Hadith collections: File Name Format Book Name Jami' at-Tirmidhi.csv CSV Jami' at-Tirmidhi… See the full description on the dataset page: https://huggingface.co/datasets/meeAtif/hadith_datasets.

sourceHugging Facemitupdated 8mo agoView on Hugging Face
15likes458downloads
Dataset Card

Sunnah Dataset — Hadith JSON & CSV Collection

An open-source collection of authenticated Hadiths from the six major books of Sunnah, available in both JSON and CSV formats for research, study, and teaching purposes. This dataset is structured cleanly with English + Arabic + grading + reference links for each Hadith.


Contents

This dataset contains the following Hadith collections:

File NameFormatBook Name
Jami' at-Tirmidhi.csvCSVJami' at-Tirmidhi
Jami' at-Tirmidhi.jsonJSONJami' at-Tirmidhi
Sahih al-Bukhari.csvCSVSahih al-Bukhari
Sahih al-Bukhari.jsonJSONSahih al-Bukhari
Sahih Muslim.csvCSVSahih Muslim
Sahih Muslim.jsonJSONSahih Muslim
Sunan Abi Dawud.csvCSVSunan Abi Dawud
Sunan Abi Dawud.jsonJSONSunan Abi Dawud
Sunan an-Nasa'i.csvCSVSunan an-Nasa'i
Sunan an-Nasa'i.jsonJSONSunan an-Nasa'i
Sunan Ibn Majah.csvCSVSunan Ibn Majah
Sunan Ibn Majah.jsonJSONSunan Ibn Majah

✨ Features

  • —Arabic and English Hadith text
  • —Book + chapter titles in both languages
  • —Hadith grading (e.g. Sahih, Da’if)
  • —In-book reference and direct link to sunnah.com
  • —Machine-readable formats:
  • —CSV (great for Excel, spreadsheets, and Pandas)
  • —JSON (ideal for devs, AI/ML, and NLP projects)

🧠 Use Cases

  • —Build Hadith bots, search engines, and mobile apps
  • —Train AI/ML models on Islamic texts
  • —Academic research and data science projects
  • —Islamic education platforms and interactive learning tools

🔗 Sample Hadith Entry (JSON)

json
{
        "Book": "Sahih al-Bukhari",
        "Chapter_Number": 1,
        "Chapter_Title_Arabic": "باب كَيْفَ كَانَ بَدْءُ الْوَحْىِ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم",
        "Chapter_Title_English": "Chapter: How the Divine Revelation started being revealed to Allah's Messenger",
        "Arabic_Text": "حَدَّثَنَا الْحُمَيْدِيُّ عَبْدُ اللَّهِ بْنُ الزُّبَيْرِ ، قَالَ : حَدَّثَنَا سُفْيَانُ ، قَالَ : حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ الْأَنْصَارِيُّ ، قَالَ : أَخْبَرَنِي مُحَمَّدُ بْنُ إِبْرَاهِيمَ التَّيْمِيُّ ، أَنَّهُ سَمِعَ عَلْقَمَةَ بْنَ وَقَّاصٍ اللَّيْثِيَّ ، يَقُولُ : سَمِعْتُ عُمَرَ بْنَ الْخَطَّابِ رَضِيَ اللَّهُ عَنْهُ عَلَى الْمِنْبَرِ، قَالَ : سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ، يَقُولُ : \" إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ، وَإِنَّمَا لِكُلِّ امْرِئٍ مَا نَوَى، فَمَنْ كَانَتْ هِجْرَتُهُ إِلَى دُنْيَا يُصِيبُهَا أَوْ إِلَى امْرَأَةٍ يَنْكِحُهَا، فَهِجْرَتُهُ إِلَى مَا هَاجَرَ إِلَيْهِ \"",
        "English_Text": "Narrated 'Umar bin Al-Khattab: I heard Allah's Messenger (ﷺ) saying, \"The reward of deeds depends upon the \n     intentions and every person will get the reward according to what he \n     has intended. So whoever emigrated for worldly benefits or for a woman\n     to marry, his emigration was for what he emigrated for.\"",
        "Grade": "",
        "Reference": "https://sunnah.com/bukhari:1",
        "In-book reference": "Book 1, Hadith 1"
}

Created by Atif

  • —GitHub: @meeAtif
  • —Linkedin: @meAtif
  • —HuggingFace: @meeAtif
  • —Email: iatif@proton.me
  • —DM For: Collaborations, Feedback, or Updates