Malaysia legislation
Section 17
of *SYARIAH CRIMINAL PROCEDURE (FEDERAL TERRITORIES) ACT 1997
Section 17
Search of persons for name and address
Every person lawfully in custody, who by reason of incapacity from intoxication, illness, mental disorder or infancy is unable to give a reasonable account of himself, may be searched for the purpose of ascertaining his name and place of residence.
26 Laws of Malaysia ACT 560