--- dataset_info: features: - name: volume dtype: string - name: chapter dtype: string - name: section dtype: string - name: subsection dtype: string - name: number dtype: string - name: text dtype: string splits: - name: train num_bytes: 18817230 num_examples: 18335 download_size: 6180019 dataset_size: 18817230 --- # Usul al-Kafi Dataset ## Description The Usul al-Kafi dataset is a digital compilation of the narrations from the renowned Shia Islamic book "Usul al-Kafi." It contains a comprehensive collection of hadiths attributed to the Prophet Muhammad and the Shia Imams, covering various aspects of Islamic teachings, including theology, ethics, jurisprudence, and social issues. ## Usage This dataset serves as a valuable resource for scholars, researchers, and students interested in studying and understanding Shia Islamic traditions and teachings. It can be utilized for research, academic studies, religious studies, and comparative analysis of hadith literature. ## Content The dataset is structured in a tabular format with the following columns: | Column Name | Description | |-------------|-----------------------------------| | volume | The volume in which the hadith is printed in (Mujallad) | | chapter | The book has chapters called 'kitab' | | section | Each 'kitab' may have some 'bab' | | subsection | Each 'bab' itself may have some 'bab' again | | number | In each 'bab' there are some hadiths numbered in the order of presence | | text | The body of hadith | ## Examples The following table shows the head of the dataset: | volume | chapter | section | subsection | number | text | |:---------|:-----------|:----------------------|:-------------|---------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | المجلد 1 | کِتَابُ الْحُجَّهِ | بَابٌ فِی تَسْمِیَهِ مَنْ رَآهُ ع | | 7 | 8- عَلِیٌّ عَنْ أَبِی عَلِیٍّ أَحْمَدَ بْنِ إِبْرَاهِیمَ بْنِ إِدْرِیسَ عَنْ أَبِیهِ أَنَّهُ قَالَ: رَأَیْتُهُ ع بَعْدَ مُضِیِّ أَبِی مُحَمَّدٍ حِینَ أَیْفَعَ وَ قَبَّلْتُ یَدَیْهِ وَ رَأْسَهُ. | | المجلد 1 | کِتَابُ الْحُجَّهِ | بَابٌ فِی تَسْمِیَهِ مَنْ رَآهُ ع | | 8 | 9- عَلِیٌّ عَنْ أَبِی عَبْدِ اللَّهِ بْنِ صَالِحٍ وَ أَحْمَدَ بْنِ النَّضْرِ عَنِ الْقَنْبَرِیِّ رَجُلٌ مِنْ وُلْدِ قَنْبَرٍ الْکَبِیرِ مَوْلَی أَبِی الْحَسَنِ الرِّضَا ع قَالَ: جَرَی حَدِیثُ جَعْفَرِ بْنِ عَلِیٍّ فَذَمَّهُ فَقُلْتُ لَهُ فَلَیْسَ غَیْرُهُ فَهَلْ رَأَیْتَهُ فَقَالَ لَمْ أَرَهُ وَ لَکِنْ رَآهُ غَیْرِی قُلْتُ وَ مَنْ رَآهُ قَالَ قَدْ رَآهُ جَعْفَرٌ مَرَّتَیْنِ وَ لَهُ حَدِیثٌ. | | المجلد 1 | کِتَابُ الْحُجَّهِ | بَابٌ فِی تَسْمِیَهِ مَنْ رَآهُ ع | | 9 | 10- عَلِیُّ بْنُ مُحَمَّدٍ عَنْ أَبِی مُحَمَّدٍ الْوَجْنَانِیِّ أَنَّهُ أَخْبَرَنِی عَمَّنْ رَآهُ أَنَّهُ خَرَجَ مِنَ الدَّارِ قَبْلَ الْحَادِثِ بِعَشَرَهِ أَیَّامٍ وَ هُوَ یَقُولُ اللَّهُمَّ إِنَّکَ تَعْلَمُ أَنَّهَا مِنْ أَحَبِّ الْبِقَاعِ لَوْ لَا الطَّرْدُ:" أَوْ کَلَامٌ هَذَا نَحْوُهُ". | | المجلد 1 | کِتَابُ الْحُجَّهِ | بَابٌ فِی تَسْمِیَهِ مَنْ رَآهُ ع | | 10 | 11- عَلِیُّ بْنُ مُحَمَّدٍ عَنْ عَلِیِّ بْنِ قَیْسٍ عَنْ بَعْضِ جَلَاوِزَهِ السَّوَادِ قَالَ: شَاهَدْتُ سِیمَاءَ (3) آنِفاً بِسُرَّ مَنْ رَأَی وَ قَدْ کَسَرَ بَابَ الدَّارِ فَخَرَجَ عَلَیْهِ وَ بِیَدِهِ طَبَرْزِینٌ فَقَالَ لَهُ-مَا تَصْنَعُ فِی دَارِی فَقَالَ سِیمَاءُ إِنَّ جَعْفَراً زَعَمَ أَنَّ أَبَاکَ مَضَی وَ لَا وَلَدَ لَهُ فَإِنْ کَانَتْ دَارَکَ فَقَدِ انْصَرَفْتُ عَنْکَ فَخَرَجَ عَنِ الدَّارِ قَالَ- عَلِیُّ بْنُ قَیْسٍ فَخَرَجَ عَلَیْنَا خَادِمٌ مِنْ خَدَمِ الدَّارِ فَسَأَلْتُهُ عَنْ هَذَا الْخَبَرِ فَقَالَ لِی مَنْ حَدَّثَکَ بِهَذَا فَقُلْتُ لَهُ حَدَّثَنِی بَعْضُ جَلَاوِزَهِ السَّوَادِ فَقَالَ لِی لَا یَکَادُ یَخْفَی عَلَی النَّاسِ شَیْ ءٌ. | | المجلد 1 | کِتَابُ الْحُجَّهِ | بَابٌ فِی تَسْمِیَهِ مَنْ رَآهُ ع | | 11 | 12- عَلِیُّ بْنُ مُحَمَّدٍ عَنْ جَعْفَرِ بْنِ مُحَمَّدٍ الْکُوفِیِّ عَنْ جَعْفَرِ بْنِ مُحَمَّدٍ الْمَکْفُوفِ عَنْ عَمْرٍو الْأَهْوَازِیِّ قَالَ: أَرَانِیهِ أَبُو مُحَمَّدٍ ع وَ قَالَ هَذَا صَاحِبُکُمْ. (1) | ## Source The Usul al-Kafi dataset is the result of the effort by [Ghaemiyeh Computer Research Institute of Isfahan](https://www.ghbook.ir/index.php?lang=en). We are grateful for their contribution in making this dataset available. ## License The Usul al-Kafi dataset is released under the Creative Commons Attribution-NonCommercial-ShareAlike (CC BY-NC-SA) license. This license allows users to use, adapt, and distribute the dataset for non-commercial purposes, provided they attribute the dataset to its original source, share any derivative works under the same license, and refrain from generating income from the dataset's use.