Mo’ed Koton(17a): There was a certain distinguished rabbi about whom there were bad rumors (about sexual misconduct - Tosfos). Rav Yehuda asked how is one to respond? If it is to ban him, this cannot be done since the Rabbis need him as a good teacher. However not to put ban him is also not possible since it would profane the name of Heaven…. So Rav Yehuda banned him. Eventually Rav Yehuda became seriously ill. The Rabbis came to visit him and that man came along with them. When Rav Yehuda saw him he laughed. The man said, Is it not sufficient that banned me but he also laughs at me? Rav Yehuda replied that he was not laughing at him but that he was in fact dying and it made him happy that even though the other person was a great and important man he didn’t refrain from treating correctly…. His colleagues did not remove the ban and he went away crying. A wasp came and stung him on his private member and died. He was not admitted in the burial ground of the pious but he was admitted in the burial ground of the judges. That is because he followed the ruling of R’ Il’ai that if a person sees that his lust is overcoming him he should go to a place where he is not recognized and wear dark clothing and cover himself with a dark covering and then do what his heart desired rather than profane the name of heaven openly.