flagellator

noun
  1. a person who whips or scourges themselves or others, especially as a form of religious penance or discipline
  2. Usage: historical; religious context
  3. a person who practices or advocates flagellation
  4. Usage: formal

Examples