Abu Juhayfa reported,

I asked Ali bin Abu Talib, "Do you have any written record?"He replied, "No, only the Book of Allah, or an understanding granted to a Muslim man, or what is in this scroll."I asked, "What is in this scroll?"He answered, "Rulings on blood-money, the ransom of captives, and that a Muslim is not to be killed in retaliation for a disbeliever."

Bukhari 111

Sahih

حدثنا محمد بن سلام قال أخبرنا وكيع عن سفيان عن مطرف عن الشعبي

عن أبي جحيفة قال

قلت لعلي بن أبي طالب هل عندكم كتاب قال لا إلا كتاب الله أو فهم أعطيه رجل مسلم أو ما في هذه الصحيفة قال قلت فما في هذه الصحيفة قال العقل وفكاك الأسير ولا يقتل مسلم بكافر

البخاري 111صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Knowledge
Chapter
Writing down knowledge
Numbering
Darussalam 111
Bukhari 111