The Prophet (ﷺ) said, "When an adulterer commits illegal sexual intercourse, then he is…

Sahih al-Bukhari Book 46 Hadith 36

Sahih al-Bukhari #2475

Oppressions 46:36

Narrated Abu Huraira:

The Prophet (ﷺ) said, "When an adulterer commits illegal sexual intercourse, then he is not a believer at the time, he is doing it, and when a drinker of an alcoholic liquor drinks it, then he is not a believer at the time of drinking it, and when a thief steals, then he is not a believer at the time of stealing, and when a robber robs, and the people look at him, then he is not a believer at the time of doing robbery.

Chapter: Robbing away somebody's property publicly

Grade: Sahih