Mishkat al-Masabih 53
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَا يَزْنِي الزَّانِي حِينَ يَزْنِي وَهُوَ مُؤْمِنٌ وَلَا يشرب الْخمر حِين يشْربهَا وَهُوَ مُؤمن وَلَا يَسْرِقُ السَّارِقُ حِينَ يَسْرِقُ وَهُوَ مُؤْمِنٌ وَلَا ينتهب نهبة ذَات شرف يرفع النَّاس إِلَيْهِ أَبْصَارهم فِيهَا حِينَ يَنْتَهِبُهَا وَهُوَ مُؤْمِنٌ وَلَا يَغُلُّ أَحَدُكُمْ حِين يغل وَهُوَ مُؤمن فإياكم إيَّاكُمْ»
From Abu Hurayrah, may Allah be pleased with him, that the Prophet ﷺ said: "The fornicator does not commit zina while he is a believer when he commits it; nor does one drink wine while he is a believer when he drinks it; nor does the thief steal while he is a believer when he steals; nor does one plunder a plunder of value, towards which people raise their eyes, while he is a believer when he plunders it; nor does one of you steal from the spoils while he is a believer when he steals from them. So beware, beware!"