A dead body, other than skeletal remains, taken into custody under
this article shall be released to the next of kin of the deceased,
or to the agent of the next of kin, no later than 24 hours after the
demand for release by that next of kin, or agent thereof, unless by
that time the peace officer, medical examiner, or coroner has made a
written finding that foul play may have been involved in the death
of the deceased.