It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: When a person steals, he is not a believer at that moment; when a person drinks alcohol, he is not a believer at that moment; and when a person commits adultery, he is not a believer at that moment; when a person is dishonest with war booty, he is not a believer at that moment; and when a person commits robbery, he is not a believer at that moment.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 9007
Hadith Gradingحکم دارالسلام:إسناده صحيح من جهة عطاء، وأما الحسن البصري فلم یسمع من أبي هريرة، خ: 2475، م: 57