(39) The Book of al-Bay'ah
كتاب البيعة
(7) Chapter: Pledging Not To Flee (From The Battlefield)
(7) باب الْبَيْعَةِ عَلَى أَنْ لاَ نَفِرَّ ‏‏
Sunan an-Nasa'i 4158 
Jabir said:
"We did not give our pledge to the Messenger of Allah for death, rather we pledged not to flee (from battle)."
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي الزُّبَيْرِ، سَمِعَ جَابِرًا، يَقُولُ لَمْ نُبَايِعْ رَسُولَ اللَّهِ صلى الله عليه وسلم عَلَى الْمَوْتِ إِنَّمَا بَايَعْنَاهُ عَلَى أَنْ لاَ نَفِرَّ ‏.‏
Grade :  Sahih (Darussalam)
Reference : Sunan an-Nasa'i 4158
In-book reference : Book 39, Hadith 10
English translation : Vol. 5, Book 39, Hadith 4163