Then when he says, you are to deliver, he delivers the sentence of condemnation, in regard to which he does three things. First, he assigns the punishment when he says: you are to deliver this man to Satan. This can be understood in two ways. First, that just as the Lord gave the apostles power over unclean spirits to cast them out (Matt 10:8), so by the same power they could command the unclean spirits to torment in the body those whom they judged deserved it. Accordingly, the Apostle commanded the Corinthians on his own authority to deliver this fornicator to Satan to be tortured. Hence, sec...ondly, he discloses the effect of this sentence when he says: for the destruction of the flesh, i.e., for the torment and affliction of the flesh in which he sinned: "One is punished by the very things by which he sins" (Wis 11:16). Thirdly, he mentions its fruit when he says: that his spirit may be saved in the day of the Lord Jesus, i.e., that he may be saved on the day of death or on the day of judgment, as was explained above (3:15): "but he himself shall be saved, yet so as by fire," i.e., of temporal punishment. For the Apostle did not deliver the sinner over to Satan's power forever, but until the time when he would be converted to repentance by bodily torment: "Vexation alone shall make you understand what you hear" (Is 28:19). This sentence of the Apostle corresponds to what the Lord observed, when he said to Satan: "Behold he is in your hand (namely, his flesh), but yet keep his life unharmed" (Jb 2:6).
To deliver this man to Satan can also be understood as referring to the sentence of excommunicating by which a person is cut off from the community of believers and from partaking of the sacraments and is deprived of the blessings of the Church. Hence it says in S. of S. (6:10): "Terrible as an army set in array," i.e., to the devils. For the destruction of the flesh would mean that, being cut off from the Church and exposed to the temptations of the devil, he might more easily fall into sin: "Let the filthy still be filthy" (Rev 22:11). Hence he calls mortal sins the destruction of the flesh, because "He who sows to his own flesh will from the flesh reap corruption" (Gal 6:8). But he adds: that his spirit may be saved, i.e., that the sinner, recognizing his vileness, may repent and thus be healed: "I was ashamed, and I was confounded, because I bore the disgrace of my youth" (Jer 31:19). This can also mean that his spirit, namely, the Church's Holy Spirit, may be saved for the faithful in the day of judgment, i.e., that they not destroy it by contact with the sinner, because it says in Wis (1:5): "For a holy and disciplined spirit will flee from deceit and will rise and depart from foolish thoughts."
Source: Commentary on 1 Corinthians