Jabir bin Abdullah reported,

We did not pledge allegiance to the Messenger of Allah ﷺ on death. Rather, we pledged to him that we would not flee.

Nasai 4163

Sahih

أخبرنا قتيبة قال حدثنا سفيان عن أبي الزبير سمع

جابرا يقول

لم نبايع رسول الله ﷺ على الموت إنما بايعناه على أن لا نفر

النسائي 4163صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Pledge of allegiance
Chapter
Pledge not to flee
Numbering
Darussalam 4163
Nasai 4163