Two people were hurt when a car struck several people outside a north London mosque, police said.
Eyewitness described hearing the driver “shouting anti-Islamic taunts” in the incident at the Al-majlis Al-Hussaini Islamic centre, Edgware Road.
However, the Metropolitan Police said in a statement that it was not being treated as terrorist-related.
Two people were taken to hospital following the incident at about 00.35 BST. The driver failed to stop.
The injuries sustained by the casualties were not thought to be life-threatening.
Scotland Yard said: “Officers are currently retaining an open mind regarding the cause of the collision.”
A spokesperson for the Hussaini Association, which had been holding a series of lectures at the mosque, said: “We are in deep shock at such an attack taking place on our community.
“We remain proud to live in a diverse and tolerant society and as such we remain unintimidated.”