Court has refused to pass directions to the Uttar Pradesh government to pay compensation to the victims of mob lynching.