Dr Kafeel Khan was released from Mathura jail after the Allahabad High Court on Tuesday quashed his detention under the National Security Act and ordered his immediate release, saying his speech at the AMU didn't promote hatred or violence and gave a call for national integrity.