Sahih al-Bukhari 7206
Narrated Yazid:I said to Salama, "For what did you give the Pledge of allegiance to the Prophet (ﷺ) on the Day of Hudaibiya?" He replied, "For death
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ، حَدَّثَنَا حَاتِمٌ، عَنْ يَزِيدَ، قَالَ قُلْتُ لِسَلَمَةَ عَلَى أَىِّ شَىْءٍ بَايَعْتُمُ النَّبِيَّ صلى الله عليه وسلم يَوْمَ الْحُدَيْبِيَةِ قَالَ عَلَى الْمَوْتِ.
Sahih