Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:111Muḥammad b. Salām > Wakīʿ > Sufyān > Muṭarrif > al-Shaʿbī > Abū Juḥayfah > Liʿalī Hal ʿIndakum Kitāb

Abu Juhaifa said, "I asked ʿAli, 'Have you got any book (which has been revealed to the Prophet ﷺ apart from the Qur'an)?' ʿAli replied, 'No, except Allah's Book or the power of understanding which has been bestowed (by Allah) upon a Muslim or what is (written) in this sheet of paper (with me).' Abu Juhaifa said, "I asked, 'What is (written) in this sheet of paper?' ʿAli replied, it deals with The Diyya (compensation (blood money) paid by the killer to the relatives of the victim), the ransom for the releasing of the captives from the hands of the enemies, and the law that no Muslim should be killed in Qisas (equality in punishment) for the killing of (a disbeliever).  

البخاري:١١١حَدَّثَنَا مُحَمَّدُ بْنُ سَلاَمٍ قَالَ أَخْبَرَنَا وَكِيعٌ عَنْ سُفْيَانَ عَنْ مُطَرِّفٍ عَنِ الشَّعْبِيِّ عَنْ أَبِي جُحَيْفَةَ قَالَ قُلْتُ لِعَلِيٍّ هَلْ عِنْدَكُمْ كِتَابٌ قَالَ

لاَ إِلاَّ كِتَابُ اللَّهِ أَوْ فَهْمٌ أُعْطِيَهُ رَجُلٌ مُسْلِمٌ أَوْ مَا فِي هَذِهِ الصَّحِيفَةِ قَالَ قُلْتُ فَمَا فِي هَذِهِ الصَّحِيفَةِ قَالَ الْعَقْلُ وَفَكَاكُ الأَسِيرِ وَلاَ يُقْتَلُ مُسْلِمٌ بِكَافِرٍ  


See similar narrations below:

Collected by Bukhārī
bukhari:3047Aḥmad b. Yūnus > Zuhayr > Muṭarrif > ʿĀmir > Abū Juḥayfah

I asked ʿAli, "Do you have the knowledge of any Divine Inspiration besides what is in Allah's Book?" ʿAli replied, "No, by Him Who splits the grain of corn and creates the soul. I don't think we have such knowledge, but we have the ability of understanding which Allah may endow a person with, so that he may understand the Qur'an, and we have what is written in this paper as well." I asked, "What is written in this paper?" He replied, "(The regulations of) blood-money, the freeing of captives, and the judgment that no Muslim should be killed for killing an infidel."  

البخاري:٣٠٤٧حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ حَدَّثَنَا زُهَيْرٌ حَدَّثَنَا مُطَرِّفٌ أَنَّ عَامِرًا حَدَّثَهُمْ عَنْ أَبِي جُحَيْفَةَ ؓ قَالَ

قُلْتُ لِعَلِيٍّ ؓ هَلْ عِنْدَكُمْ شَىْءٌ مِنَ الْوَحْىِ إِلاَّ مَا فِي كِتَابِ اللَّهِ قَالَ وَالَّذِي فَلَقَ الْحَبَّةَ وَبَرَأَ النَّسَمَةَ مَا أَعْلَمُهُ إِلاَّ فَهْمًا يُعْطِيهِ اللَّهُ رَجُلاً فِي الْقُرْآنِ وَمَا فِي هَذِهِ الصَّحِيفَةِ قُلْتُ وَمَا فِي الصَّحِيفَةِ قَالَ الْعَقْلُ وَفَكَاكُ الأَسِيرِ وَأَنْ لاَ يُقْتَلَ مُسْلِمٌ بِكَافِرٍ