Ubada bin Samit reported,

I am one of the chiefs who pledged allegiance to the Messenger of Allah ﷺ. He said, "We pledged to him that we would not associate anything with Allah, nor steal, nor commit adultery, nor kill the soul which Allah has forbidden, nor seize plunder, nor disobey, in return for Paradise if we fulfilled this. If we fell into any of that, the matter would be left to Allah."

Bukhari 3893

Sahih

حدثنا قتيبة حدثنا الليث عن يزيد بن أبي حبيب عن أبي الخير عن الصنابحي

عن عبادة بن الصامت رضي الله عنه أنه قال

إني من النقباء الذين بايعوا رسول الله ﷺ وقال بايعناه على أن لا نشرك بالله شيئا ولا نسرق ولا نزني ولا نقتل النفس التي حرم الله ولا ننتهب ولا نعصي بالجنة إن فعلنا ذلك فإن غشينا من ذلك شيئا كان قضاء ذلك إلى الله

البخاري 3893صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of the Ansar
Chapter
Delegations of the Ansar to the Prophet ﷺ in Makkah and the pledge of Uqba
Numbering
Darussalam 3893
Bukhari 3893