Sahih Bukhari | Volume 7 | Hadith Number 484

The Prophet said, "An adulterer, at the time he is committing illegal sexual intercourse is not a believer; and a person, at the time of drinking an alcoholic drink is not a believer; and a thief, at the time of stealing, is not a believer." Ibn Shihab said: 'Abdul Malik bin Abi Bakr bin 'Abdur-Rahman bin Al- Harith bin Hisham told me that Abu Bakr used to narrate that narration to him on the authority of Abu Huraira. He used to add that Abu Bakr used to mention, besides the above cases, "And he who robs (takes illegally something by force) while the people are looking at him, is not a believer at the time he is robbing (taking)."