People's Republic of China (PRC) Prison Law
Article 16 When a criminal is committed for execution, the people's court that committed him for execution shall deliver a copy of the indictment of the people's procuratorate, a copy of the judgment of the people's court, the notice of execution and the registration form for closing the case to the prison at the same time. If the prison does not receive the above documents, it shall not be put into prison; If the above-mentioned documents are incomplete or recorded incorrectly, the people's court that made the effective judgment shall promptly supplement or correct them; Those who may lead to wrongful imprisonment will not be imprisoned.
Article 39 A prison shall separately detain adult male prisoners, female prisoners and juvenile prisoners, and their physiological and psychological characteristics shall be taken into account in the reform of juvenile prisoners and female prisoners. Sentencing shall be carried out according to the types of crimes, types of punishments, terms of imprisonment and performance of reform. Prisons hold prisoners separately and are managed in different ways.