Political and religious leaders have united to tell violent extremists to leave the country ahead of a top-level counter terrorism meeting in Canberra next week.
Prime Minister Malcolm Turnbull urged tolerance and "mutual respect" amid heightened tension over the shooting of police accountant Curtis Cheng in Parramatta. 
But he agreed with Paramatta Mosque chairman Neil El-Kadomi, who told hundreds of worshippers gathered for Friday prayers that "if you don't like Australia, leave".
"It's not compulsory to live in Australia ... there's a big wide world out there," Mr Turnbull said in what were his most extensive public comments about terrorism since he replaced Tony Abbott. "Everything I do, as your prime minister, is designed to make us safe," Mr Turnbull said.
Mr Cheng was gunned down in Sydney's west by 15-year-old Farhad Khalil Mohammad Jabar in what Mr Turnbull described as an act of terrorism that was politically and religiously motivated.
The discussions in Canberra next Thursday will be led by Counter-Terrorism Co-ordinator Greg Moriarty and involve officials from all states and territories.
The recommendations developed will be considered at the next session of the Council of Australian Governments.
Mr Turnbull said they would see would what more could be done.
"But I can say to you that the advice I have consistently from my parliamentary colleagues, from the security services [and] from the police services, is that the Muslim community is our absolutely necessary partner in the battle against violent extremism," he told reporters in Sydney.
The prime minister met with a group of seven Muslim leaders in western Sydney on Friday morning. He described the discussion which went for more than a hour as "very constructive".
"All of them spoke of their determination to ensure that we work together as part of the Australian family to prevent the spread of extremism," he said.
"It is my role, it's the role of political leaders at all levels, community and business leaders, religious leaders and educators to stand up against hate and extremism."
Earlier, Mr El-Kadomi invited media into the mosque in an effort to quell tensions ahead of a protest planned for later in the day by the anti-Islamic Party for Freedom.
Speaking after prayers, he said many Muslim people had waited a long time to come to Australia.
"You should not abuse the privilege you are Australian, which is very important," he told reporters just outside the prayer room. "Get out. We do not need scumbags in the community."
He rejected suggestions the mosque was a breeding ground for extremism.
"I'm not hiding anything. You see in the mosque, there's not guns in it," he said. "We reject terrorism."
Opposition Leader Bill Shorten shared those sentiments. "If you really hate Australia, then you should go," he told reporters in Tasmania.