It is narrated from a Companion, Sharik (may Allah be pleased with him), that the Prophet (peace and blessings be upon him) said: "Whoever commits adultery, faith departs from him; whoever drinks wine without being forced or compelled, faith departs from him; and whoever commits a plunder at which people are left astonished, faith departs from him. Then if he repents, Allah accepts his repentance."
Hadith Referenceالمعجم الكبير للطبراني / باب الشين / 7193