workhouse

noun

1.
a poorhouse where able-bodied poor are compelled to labor
2.
a county jail that holds prisoners for periods up to 18 months