Sahih Bukhari | Volume 6 | Hadith Number 417

Narrated by 'Ubada bin As-Samit
While we were with the Prophet, he said, "Will you swear to me the pledge of allegiance that you will not worship any thing besides Allah, will not commit illegal sexual intercourse, and will not steal?" Then he recited the Verse concerning the women. (Sufyan, the sub-narrator, often said that the Prophet: added, "Whoever among you fulfils his pledge, will receive his reward from Allah, and whoever commits any of those sins and receives the legal punishment (in this life), his punishment will be an expiation for that sin; and whoever commits any of those sins and Allah screens him, then it is up to Allah to punish or forgive them."

Page 119 of 143