"Like the terrible attacks in Manchester, Westminster and London Bridge it is also an assault on all our shared values of tolerance, freedom and respect," he said in a statement.
Khan said there would be extra police to reassure communities, especially those observing Ramadan.