J-K man detained at Ayodhya Ram temple handed over to family

Police say no security threat found; kin produce medical records after mental illness claim, agencies remain on alert