The warden or superintendent of any penal institution in any county, township, city, village or incorporated town to which prisoners have been committed for imprisonment for conviction of misdemeanors or for nonpayment of fines for violation of state law, ordinance, resolution, rule or regulation of a township, city, village or incorporated town may recommit such prisoners to confinement in any other penal institution in the county in which, by contract or otherwise, such prisoners may be held, but only with the consent of the warden or superintendent of the other penal institution. In making such recommitment the warden or superintendent shall take into consideration the nature of the offense, the character of the offender, whether the offender should be held under maximum security conditions and any other condition pertinent to such decision. The warden or superintendent may recommit prisoners committed to his institution to be confined in another penal institution in which he may hold prisoners when in his judgment, such recommitment will be beneficial to the welfare or rehabilitation of the prisoner or is desirable to relieve overcrowding in any such penal institution.
Appropriate records of such recommitments shall be kept by the wardens or superintendents of both penal institutions. Such recommitments shall not operate to lengthen or shorten the term of imprisonment of prisoners.
730 ILCS 155/1