workhouse (n.)

Old English weorchus "workshop;" see work (n.) + house (n.). From 1650s in the sense of "place where the able-bodied poor or petty criminals are lodged and compelled to work."