Roman Catechism 13.29

Chapter 13 — Part I: The Creed — Article XI: The Resurrection of the Body

Section 29. The wicked, too, shall rise with all their members, even with those lost through their own fault. The greater the number of members which they shall have, the greater will be their torments; and therefore this restoration of members will serve to increase not their happiness but their sorrow and misery; for merit or demerit is ascribed not to the members, but to the person to whose body they are united. To those, therefore, who shall have done penance, they shall be restored as sources of reward; and to those who shall have contemned it, as instruments of punishment.