Q: Experiment on blaming the one you hurt?

For bookwriting—Does anyone have a quick ref for experiments where the subject is forced to hurt someone, and then evaluates that person negatively (“The victim deserved it”)? I can’t recall the Google keyword; it doesn’t show up for “blaming the victim” or “just-world hypothesis”.