1 Corinthians 5:3-5

5:3 For even though I am absent physically, I am present in spirit. And I have already judged the one who did this, just as though I were present. 5:4 When you gather together in the name of our Lord Jesus, and I am with you in spirit, along with the power of our Lord Jesus, 5:5 turn this man over to Satan for the destruction of the flesh, so that his spirit may be saved in the day of the Lord.

1 Corinthians 5:9-13

5:9 I wrote you in my letter not to associate with sexually immoral people. 5:10 In no way did I mean the immoral people of this world, or the greedy and swindlers and idolaters, since you would then have to go out of the world. 5:11 But now I am writing to you not to associate with anyone who calls himself a Christian who is sexually immoral, or greedy, or an idolater, or verbally abusive, or a drunkard, or a swindler. Do not even eat with such a person. 5:12 For what do I have to do with judging those outside? Are you not to judge those inside? 5:13 But God will judge those outside. Remove the evil person from among you.