Abu Hurairah reported,

The adulterer is not a believer at the moment he commits adultery, the thief is not a believer at the moment he steals, and the drinker of wine is not a believer at the moment he drinks. He mentioned a fourth, but I have forgotten it. When a person does any of these, he removes the bond of Islam from his neck. But if he repents, Allah accepts his repentance.

Nasai 4876

Daif

أخبرنا محمد بن يحيى المروزي أبو علي قال حدثنا عبد الله بن عثمان عن أبي حمزة عن يزيد وهو ابن أبي زياد عن أبي صالح

عن أبي هريرة قال

لا يزني الزاني حين يزني وهو مؤمن ولا يسرق وهو مؤمن ولا يشرب الخمر وهو مؤمن وذكر رابعة فنسيتها فإذا فعل ذلك خلع ربقة الإسلام من عنقه فإن تاب تاب الله عليه

النسائي 4876ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Cutting off the hand of the thief
Chapter
Severity of theft
Numbering
Darussalam 4876
Nasai 4876