Chain gang

group of prisoners chained together to perform menial or physically challenging work as a form of punishment

A chain gang is a group of inmates working outdoors, often in the field or along the side of a road, while wearing shackles. Historically, chain gangs were part of many US states programs of penal forced labor.