Ubada bin Samit reported,

The Messenger of Allah ﷺ, with a group of his companions gathered around him, said, "Pledge allegiance to me that you will not associate anything with Allah, that you will not steal, that you will not commit fornication, that you will not kill your children, that you will not bring forth a slander you have fabricated between your hands and feet, and that you will not disobey in what is right. Whoever among you fulfills this, his reward is with Allah. Whoever commits any of these offenses and is punished for it in this world, that punishment is an expiation for him. And whoever commits any of these offenses and Allah conceals it, his affair is with Allah. If He wills, He will pardon him, and if He wills, He will punish him."

Azami 235

Sahih

عن عبادة بن الصامت- وكان شهد بدرا،

الصامت- وكان شهد بدرا، وهو أحد النقباء ليلة العقبة

-، أن رسول الله ﷺ قال- وحوله عصابة من أصحابه-: بايعوني على أن لا تشركوا بالله شيئا، ولا تسرقوا، ولا تزنوا، ولا تقتلوا أولادكم ولا تأتوا ببهتان تفترونه بين أيديكم وأرجلكم، ولا تعصوا في معروف. فمن وفى منكم فأجره على الله، ومن أصاب من ذلك شيئا فعوقب في الدنيا فهو كفارة له، ومن أصاب من ذلك شيئا ثم ستره الله فهو إلى الله، إن شاء عفا عنه، وإن شاء عاقبه.

الأعظمي 235صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in Allah عز وجل
Section
Pledging allegiance to not associating anything with Allah
Numbering
Jami al-Kamil 235 (2nd edition)
Azami 235