وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَا يَزْنِي الزَّانِي حِينَ يَزْنِي وَهُوَ مُؤْمِنٌ وَلَا يشرب الْخمر حِين يشْربهَا وَهُوَ مُؤمن وَلَا يَسْرِقُ السَّارِقُ حِينَ يَسْرِقُ وَهُوَ مُؤْمِنٌ وَلَا ينتهب نهبة ذَات شرف يرفع النَّاس إِلَيْهِ أَبْصَارهم فِيهَا حِينَ يَنْتَهِبُهَا وَهُوَ مُؤْمِنٌ وَلَا يَغُلُّ أَحَدُكُمْ حِين يغل وَهُوَ مُؤمن فإياكم إيَّاكُمْ»
He also reported God’s messenger as saying, “When one commits fornication he is not a believer, when one steals he is not a believer, when one drinks wine he is not a believer, when one takes plunder on account of which men raise their eyes at him he is not a believer, and when one of you defrauds he is not a believer; so beware, beware!" (Bukhari and Muslim.)
Related hadith on this topic