Ashtar reported,

He said to Ali, "People have been spreading rumors about what they have been hearing. If the Messenger of Allah ﷺ entrusted you with anything special, please tell us about it."Ali replied, "The Messenger of Allah ﷺ did not entrust me with anything that he did not entrust to people in general, except for what is in the sheath of my sword."He then took out a document which read, "The blood of the believers is equal in value, the lowest of them may grant protection on behalf of all, no believer shall be killed in retaliation for a disbeliever, nor shall anyone under a covenant be killed during the term of his covenant."Abridged.

Nasai 4750

Sahih

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

عن الأشتر

أنه قال لعلي إن الناس قد تفشغ بهم ما يسمعون فإن كان رسول الله ﷺ عهد إليك عهدا فحدثنا به قال ما عهد إلي رسول الله ﷺ عهدا لم يعهده إلى الناس غير أن في قراب سيفي صحيفة فإذا فيها المؤمنون تتكافأ دماؤهم يسعى بذمتهم أدناهم لا يقتل مؤمن بكافر ولا ذو عهد في عهده مختصر

النسائي 4750صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Sworn testimony
Chapter
Dropping of retaliation from a Muslim for a disbeliever
Numbering
Darussalam 4750
Nasai 4750