The attacker, whose identity was not immediately available, was arrested and taken to Mount Sinai Beth Israel, according to a high-ranking police source. He was also shouting “Allahu akbar” — a common Muslim prayer that has also been co-opted by religious extremists — when he was arrested, sources said. Cops are investigating any possible terror ties, according to sources.