Messenger of Allah ﷺs said, "When a slave (of Allah) commits illegal sexual intercourse, he is not a believer at the time of committing it; and if he 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. (Using translation from Bukhārī 6809)
قَالَ رَسُولُ اللهِ ﷺ «لَا يَزْنِي الْعَبْدُ حِينَ يَزْنِي وَهُوَ مُؤْمِنٌ وَلَا يَشْرَبُ الْخَمْرَ حِينَ يَشْرَبُهَا وَهُوَ مُؤْمِنٌ وَلَا يَسْرِقُ وَهُوَ مُؤْمِنٌ وَلَا يَقْتُلُ وَهُوَ مُؤْمِنٌ» فَقُلْتُ لِابْنِ عَبَّاسَ كَيْفَ يُنْتَزَعُ الْإِيمَانُ مِنْهُ؟ فَشَبَّكَ أَصَابِعَهُ ثُمَّ أَخْرَجَهَا فَقَالَ هَكَذَا فَإِذَا تَابَ عَادَ إِلَيْهِ هَكَذَا وَشَبَّكَ أَصَابِعَهَ