Winston Peters has defended using a solemn occasion in Parliament to attack the Government's immigration policies.
The NZ First leader was taking part in a series of speeches by party leaders who were expressing their condolences over the Orlando shooting that left 49 dead.
But while the other party leaders confined themselves to sorrow and sympathy, Mr Peters warned New Zealanders didn't know who was coming into their country.
He said border control was lax and vast numbers of immigrants were being allowed in.
"This atrocity resulted from Islamic extremism by a terrorist whose family had sought shelter in the United States," he said.
"We are inviting that problem by the looseness and the cavalier attitude we're taking," he said.
Labour and Green Party MPs posted comments on social media describing Mr Peters' speech as "shameful" and "disgraceful".
Peters later told reporters he had been right to raise the issues of border control and immigration.
"I think it's time for the West to talk about it, it's having a dramatic effect on the situations in the United States and Britain," he said.
"Just because some sickly white liberals and cultural fellow travellers can't make a stand is no reason why we shouldn't."