(20) باب إِثْمِ الزُّنَاةِ
Narrated 'Ikrima from Ibn 'Abbas:
Allah's Messenger (ﷺ)s said, "When a slave (of Allah) commits illegal sexualintercourse, he is not a believer at the time of committing it; and ifhe steals, he is not a believer at the time of stealing; and if he drinks an alcoholic drink, when he is not a believer at the time of drinking it; and he is not a believer when he commits a murder," 'Ikrima said: I asked Ibn Abbas, "How is faith taken away from him?" He said, Like this," by clasping his hands and then separating them, and added, "But if he repents, faith returns to him like this, by clasping his hands again.
Reference: Sahih al-Bukhari 6809
In-book reference: Book 86, Hadith 39
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 82, Hadith 800