Excerpt from "RULES FOR IMPLEMENTATION OF THE PEOPLE'S REPUBLIC OF CHINA LAW ON ENTRY AND EXIT CONTROL OF ALIENS"
Chapter IV Registration for Lodging
Article 29 Aliens who stay at such enterprises or institutions as guesthouses, hotels, inns, hostels and schools, or at government departments, public organizations and other Chinese institutions shall produce their valid passports or residence certificates, and fill in the registration form of temporary accommodation. When seeking accommodation in an area not open to aliens, they shall produce their travel permit in addition.
Article 30 Aliens who lodge with the Chinese residents shall, through the hosts or by themselves, within 24 hours of their arrival in a city or a town, submit a report to the local public security organ with their passport and other certificates and the host's residence booklet, fill in the registration form of temporary accommodation, and within 72 hours of their arrival in the countryside, report to the local police station or to the local residence registration office.
Article 31 Aliens who lodge at resident foreign institutions in China or with other aliens residing in China shall through the host institutions or the hosts or by themselves, within 24 hours of their arrival, submit a report to the local public security organ with their passport or residence certificate and fill in the registration form of temporary accommodation.
Article 32 Aliens having long-term residence in China who wish to lodge temporarily in a place other than their own residence shall report and register the accommodation in accordance with the provisions of Article 29, 30 and 31 of these Rules.
Article 33 Aliens who accommodate in mobile lodgings shall, within 24 hours, submit a report to the local public security organ. The organizations or individuals who furnish sites for aliens' mobile lodgings shall 24 hours in advance submit a report to the local public security organ.
Article 45 Anyone who is held responsible for, in violation of the provisions of Chapter IV of these Rules, the failure to go through the registration procedure for getting accommodation or to submit a report to the public security organ for lodging registration, or for providing accommodation to an alien who does not hold any valid certificate, may be given a warning or punished with a fine of 50 to 500 yuan.
Source: english.gov.cn