File size: 3,633 Bytes
5cf1765
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
525cf73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---

language:
- ar
- en
license: cc0-1.0
task_categories:
- translation
- text-generation
tags:
- islam
- hadith
- religion
- arabic
- musannaf
size_categories:
- 10K<n<100K
---


# Musannaf Ibn Abi Shaybah (English & Arabic)

This dataset contains the complete digital collection of the **Musannaf of Ibn Abi Shaybah** (d. 235 AH), one of the earliest and most significant compilations of Hadith, Athar (sayings of the Companions), and legal rulings in Islamic history.

The dataset includes approximately **37,943 narrations** with their original Arabic text and corresponding English translations.

## Dataset Structure

Each entry in the dataset contains the following fields:

- `hadith_id`: A unique numerical identifier for the narration.
- `arabic_text`: The full original Arabic text including the Isnad (chain of transmission) and Matn (body text).
- `english_text`: The English translation of the narration.
- `narrators_ar`: Extracted names of narrators in Arabic.
- `narrators_en`: Extracted names of narrators in English.

### Example Entry
```json
 {
    "hadith_id": 37943,
    "arabic_text": "حَدَّثَنَا يَحْيَى بْنُ آدَمَ، ثَنَا مُعْضِلٌ، عَنْ أَبِي إِسْحَاقَ، عَنْ عَرْفَجَةَ، عَنْ أَبِيهِ، قَالَ: لَمَّا جِيءَ عَلِيٌّ بِمَا فِي عَسْكَرِ أَهْلِ النَّهْرِ قَالَ: مَنْ عَرَفَ شَيْئًا فَلْيَأْخُذْهُ , قَالَ: فَأُخِذَتْ إِلَّا قَدْرًا , قَالَ: ثُمَّ رَأَيْتُهَا بَعْدُ قَدْ أُخِذَتْ",
    "english_text": "Yahya bin Adam told us, Mu'dil told us, from Abu Ishaq, from 'Arfaja, from his father, who said: When what was in the camp of the people of Al-Nahrawan was brought to Ali, he said: \"Whoever recognizes something, let him take it.\" He said: So [everything] was taken except a pot. He said: Then I saw it later having been taken.",
    "narrators_ar": "يَحْيَى بْنُ آدَمَ، مُعْضِلٌ، أَبِي إِسْحَاقَ، عَرْفَجَةَ، أَبِيهِ",
    "narrators_en": "Yahya b. Adam, Mu'dil, Abu Ishaq, 'Arfaja, his father"
  }
```

## Source & Digitization
This dataset was sourced from the [ibnabishaybah GitHub repository](https://github.com/muxaibest/ibnabishaybah) by **muxaibest**. The goal of the original project was to make these historical texts accessible online in a structured, searchable, and user-friendly format.

## Licensing

### Arabic Text
The original Arabic text of Ibn Abi Shaybah’s works is over 1,000 years old and is in the **Public Domain**.

### English Translation
The English translation was released by **Sheikh Abu Sultana** under the [CC0 1.0 Universal (Public Domain Dedication)](https://creativecommons.org/publicdomain/zero/1.0/). 

This means:
- You are free to use, copy, modify, and distribute this data for any purpose.
- No attribution is strictly required (though appreciated for scholarly transparency).
- It can be used for commercial projects, AI training, and research without restriction.

## Usage
You can load this dataset directly using the Hugging Face `datasets` library:

```python
from datasets import load_dataset

dataset = load_dataset("freococo/musannaf_ibn_abi_shaybah")

# Access the first entry
print(dataset['train'][0])
```

## Acknowledgments
Special thanks to:
- **Sheikh Abu Sultana** for his generous contribution of the English translation to the public domain.
- **muxaibest** for the digitization and structural organization of the JSON files.
```