Sahih Muslim 1856 b
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا ابْنُ عُيَيْنَةَ، ح وَحَدَّثَنَا ابْنُ نُمَيْرٍ، حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، قَالَ لَمْ نُبَايِعْ رَسُولَ اللَّهِ صلى الله عليه وسلم عَلَى الْمَوْتِ إِنَّمَا بَايَعْنَاهُ عَلَى أَنْ لاَ نَفِرَّ .
It has been narrated (through a different chain of transmitters) on the authority of Jabir who said:
While swearing fealty to the Prophet (ﷺ) we did not take the oath to death but that we would not run away (from the battlefield).
Full reference and source
Sahih Muslim 1856 b In-book : Book 33, Hadith 105 USC-MSA web (English) : Book 20, Hadith 4577 (deprecated)
View source on Sunnah.com (opens in a new tab)