My friend was arrested for theft, but he didn't receive the detention notice.

article 83 of the criminal procedure law. if a public security organ detains a person, it must produce a detention permit.

after detention, they should be sent to a detention center for custody immediately, and no later than 24 hours. The family members of the detained person shall be notified within 24 hours after detention, except in cases where it is impossible to notify or suspected of endangering national security or terrorist activities, which may hinder the investigation. As soon as the circumstances that hinder the investigation disappear, the families of the detainees should be informed immediately.

article 91 when arresting a person, a public security organ must produce an arrest warrant.

after arrest, they should be sent to the detention center immediately. Unless it is impossible to notify, the family members of the arrested person shall be notified within 24 hours after the arrest.