Sahih al-Bukhari #3999 · Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)

Sahih al-BukhariUbadah ibn as-Samit
Sahih al-Bukhari · Book 64 · Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
Sahih al-Bukhari · كتاب 64 · كتاب المغازي
(who was one of the Badr warriors) Allah's Messenger (ﷺ) said, "Give me the pledge of allegiance
حَدَّثَنَا أَبُو الْيَمَانِ، أَخْبَرَنَا شُعَيْبٌ، عَنِ الزُّهْرِيِّ، قَالَ أَخْبَرَنِي أَبُو إِدْرِيسَ، عَائِذُ اللَّهِ بْنُ عَبْدِ اللَّهِ أَنَّ عُبَادَةَ بْنَ الصَّامِتِ، وَكَانَ، شَهِدَ بَدْرًا أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏
"‏ بَايِعُونِي ‏"‏‏.‏
Reference : Sahih al-Bukhari 3999In-book reference : Book 64, Hadith 50