--- dataset_info: - config_name: التفسير features: - name: text dtype: string - name: source_المصدر dtype: string - name: narrator_الراوي dtype: string - name: ruling_الحكم dtype: string - name: ruling_source_مصدر_الحكم dtype: string - name: number_رقم_الحديث dtype: int64 - name: topic_الموضوع dtype: string splits: - name: train num_bytes: 217778 num_examples: 380 download_size: 10168 dataset_size: 217778 - config_name: الآداب features: - name: text dtype: string - name: source_المصدر dtype: string - name: narrator_الراوي dtype: string - name: ruling_الحكم dtype: string - name: ruling_source_مصدر_الحكم dtype: string - name: number_رقم_الحديث dtype: int64 - name: topic_الموضوع dtype: string splits: - name: train num_bytes: 709520 num_examples: 1120 download_size: 13172 dataset_size: 709520 - config_name: الأحكام features: - name: text dtype: string - name: source_المصدر dtype: string - name: narrator_الراوي dtype: string - name: ruling_الحكم dtype: string - name: ruling_source_مصدر_الحكم dtype: string - name: number_رقم_الحديث dtype: float64 - name: topic_الموضوع dtype: string splits: - name: train num_bytes: 2309475 num_examples: 5131 download_size: 34536 dataset_size: 2309475 - config_name: التاريخ والسير features: - name: text dtype: string - name: source_المصدر dtype: string - name: narrator_الراوي dtype: string - name: ruling_الحكم dtype: string - name: ruling_source_مصدر_الحكم dtype: string - name: number_رقم_الحديث dtype: int64 - name: topic_الموضوع dtype: string splits: - name: train num_bytes: 631530 num_examples: 450 download_size: 18115 dataset_size: 631530 - config_name: الرقائق features: - name: text dtype: string - name: source_المصدر dtype: string - name: narrator_الراوي dtype: string - name: ruling_الحكم dtype: string - name: ruling_source_مصدر_الحكم dtype: string - name: number_رقم_الحديث dtype: int64 - name: topic_الموضوع dtype: string splits: - name: train num_bytes: 964019 num_examples: 1190 download_size: 19650 dataset_size: 964019 - config_name: العقائد features: - name: text dtype: string - name: source_المصدر dtype: string - name: narrator_الراوي dtype: string - name: ruling_الحكم dtype: string - name: ruling_source_مصدر_الحكم dtype: string - name: number_رقم_الحديث dtype: int64 - name: topic_الموضوع dtype: string splits: - name: train num_bytes: 345744 num_examples: 720 download_size: 8505 dataset_size: 345744 - config_name: الفتن وأشراط الساعة features: - name: text dtype: string - name: source_المصدر dtype: string - name: narrator_الراوي dtype: string - name: ruling_الحكم dtype: string - name: ruling_source_مصدر_الحكم dtype: string - name: number_رقم_الحديث dtype: int64 - name: topic_الموضوع dtype: string splits: - name: train num_bytes: 147726 num_examples: 290 download_size: 8714 dataset_size: 147726 - config_name: المناقب والمثالب features: - name: text dtype: string - name: source_المصدر dtype: string - name: narrator_الراوي dtype: string - name: ruling_الحكم dtype: string - name: ruling_source_مصدر_الحكم dtype: string - name: number_رقم_الحديث dtype: int64 - name: topic_الموضوع dtype: string splits: - name: train num_bytes: 417003 num_examples: 970 download_size: 7434 dataset_size: 417003 configs: - config_name: الآداب data_files: - split: train path: الآداب/train-* - config_name: الأحكام data_files: - split: train path: الأحكام/train-* - config_name: التاريخ والسير data_files: - split: train path: التاريخ والسير/train-* - config_name: التفسير data_files: - split: train path: التفسير/train-* - config_name: الرقائق data_files: - split: train path: الرقائق/train-* - config_name: العقائد data_files: - split: train path: العقائد/train-* - config_name: الفتن وأشراط الساعة data_files: - split: train path: الفتن وأشراط الساعة/train-* - config_name: المناقب والمثالب data_files: - split: train path: المناقب والمثالب/train-* ---
![image](https://cdn-uploads.huggingface.co/production/uploads/65f5c3528fb2b1535728138f/GnG-lOI81Lpi3U15xr4_m.png)
# Lhadith : Moroccan Hadith Dataset A comprehensive collection of Hadiths. This dataset organizes prophetic traditions into various thematic topics, including beliefs, rulings, etiquette, and more. ## Dataset Overview The dataset consists of configs, each corresponding to a specific religious topic (الموضوع). The data is captured in its original Arabic text alongside metadata provided by the platform. ### Statistics & Topics | Topic (Arabic) | Topic (English) | Approx. Records | names | | :--- | :--- | :---: | :--- | | **الأحكام** | Rulings | ~5,000 | `الأحكام` | | **الرقائق** | Heart-softeners | ~1,200 | `الرقائق` | | **الآداب** | Manners/Etiquette | ~1,100 | `الآداب` | | **المناقب والمثالب** | Virtues & Defects | ~970 | `المناقب والمثالب` | | **التاريخ والسير** | History & Sira | ~450 | `التاريخ والسير` | | **العقائد** | Beliefs/Doctrine | ~720 | `العقائد` | | **التفسير** | Interpretation | ~380 | `التفسير` | | **الفتن وأشراط الساعة** | Signs of the Hour | ~290 | `الفتن وأشراط الساعة` | **Total Records:** ~10,000+ entries. ## Data Schema Each row represents a single Hadith with the following fields: - `index`: Sequential identifier from the scrape. - `text`: The full Arabic text of the Hadith. - `source_المصدر`: The primary source (e.g., Sahih Bukhari, Muwatta Malik). - `narrator_الراوي`: The companion or narrator who reported the Hadith. - `ruling_الحكم`: The authenticity grade (e.g., صحيح - Sahih, ضعيف - Da'if). - `ruling_source_مصدر_الحكم`: The reference or commentary justifying the ruling. - `number_رقم_الحديث`: The specific Hadith number in the source collection. - `topic_الموضوع`: The category the Hadith belongs to. - `url`: Direct link to the Hadith page on the Mohammed VI Platform. ## Usage This dataset can be used for: - Islamic Studies and Research. - Natural Language Processing (NLP) on Classical Arabic. - Educational applications and search engines. ## Python Usage Example You can easily load any of these datasets using `pandas`: ```python from datasets import load_dataset # Load the beliefs/doctrine dataset topic = "العقائد" dataset = load_dataset("abdeljalilELmajjodi/Lhadith_dataset",name=topic) df = dataset.to_pandas() # Quick look at the top records print(df.head()) # Filter for Sahih hadiths sahih_df = df[df['ruling_الحكم'] == 'صحيح'] print(f"Found {len(sahih_df)} authentic records.") ``` --- *Note: This dataset is provided for educational and research purposes. Please refer to the original portal for official religious rulings.*