It is narrated from Sayyiduna Laqit bin Artah al-Sakuni (may Allah be pleased with him) that a man said to him: We have a neighbour who drinks wine and does shameful things; take his case to the ruler. He said: "I have killed ninety-nine alongside the Messenger of Allah (peace and blessings be upon him); I would not like to kill as many more of their like and to expose the cover of a Muslim."
Hadith Referenceالمعجم الكبير للطبراني / باب اللام / 16533