Sahih al-Bukhari 4894
Ali bin Abdullah narrated to us that Sufyan (bin Uyainah) told us. He said: Zuhri narrated this to us, he said: Abu Idris (Khaulani) told me that he heard Hazrat Ubadah bin Samit (ra). Hazrat Ubadah (ra) said: We were with the Prophet (saw) and he said: “Do you pledge allegiance to me on these things: that you will not associate anything with Allah, and you will not commit adultery, and you will not steal?” And he recited the verse about the women. And Sufyan mostly said (in this hadith) that he recited the verse; (then he said:) “Whoever among you fulfils this covenant, his reward will rest with Allah; and whoever commits any of these and is then punished for it, this punishment will be an expiation for him; and whoever commits any of these and Allah covers it up, then it is left to Allah: if He wills, He will punish him, and if He wills, He will cover it up and pardon him.” Abdur Razzaq has also narrated it. He narrated from Ma'mar concerning this verse.
AI-translated by Islam-Today