Sahih al-Bukhari, Book 93, Hadith 66 (In-Book) ⓘ
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."
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ، حَدَّثَنَا حَاتِمٌ، عَنْ يَزِيدَ، قَالَ قُلْتُ لِسَلَمَةَ عَلَى أَىِّ شَىْءٍ بَايَعْتُمُ النَّبِيَّ صلى الله عليه وسلم يَوْمَ الْحُدَيْبِيَةِ قَالَ عَلَى الْمَوْتِ.
also referenced under: Hadith 7206 (DarusSalam) & Volume 9, Book 89, Hadith 313 (USC-MSA)