Prisoner escapes from police custody while in hospital