house of correction

noun

1.
(formerly) a jail or other place of detention for persons convicted of minor offences