CCP 3829     

Art. 3829.  Notice of hearing

When a person is in custody by virtue of a prior court order, or at the request of any person, reasonable written notice of the hearing shall be given to the person who provoked the prior court order or requested the custody.