In every case of sentence to imprisonment for a term exceeding 3 months, the court may by the sentence direct that a certain portion of the term of imprisonment, not exceeding 3 months, shall be in solitary confinement; and any person so sentenced shall not be allowed to work during that portion of the term of imprisonment.
Code 1852, §§ 2927, 2929; 21 Del. Laws, c. 247, § 4; 27 Del. Laws, c. 271; Code 1915, §§ 4810, 4811; Code 1935, § 5299; 11 Del. C. 1953, § 3203.