The Department of Corrections shall require of every able-bodied prisoner imprisoned in any state prison as many hours of faithful labor in each day and every day during his or her term of imprisonment as shall be prescribed by the rules and regulations of the Director of Corrections.
Whenever by any statute a price is required to be fixed for any services to be performed in connection with the work program of the Department of Corrections, the compensation paid to prisoners shall be included as an item of cost in fixing the final statutory price.
Prisoners not engaged on work programs under the jurisdiction of the Prison Industry Authority, but who are engaged in productive labor outside of such programs may be compensated in like manner. The compensation of such prisoners shall be paid either out of funds appropriated by the Legislature for that purpose or out of such other funds available to the Department of Corrections for expenditure, as the Director of Finance may direct.
When any prisoner escapes, the director shall determine what portion of his or her earnings shall be forfeited and such forfeiture shall be deposited in the State Treasury in a fund known as the Inmate Welfare Fund of the Department of Corrections.
Ca. Pen. Code § 2700