New Zealand’s foreign minister will travel to Turkey to “confront” comments made by Turkish president Recep Tayyip Erdogan ​after a terror attack at mosques in Christchurch, prime minister Jacinda Ardern has said.

Australian Brenton Tarrant, 28, was charged with murder on Saturday after a gunman opened fire at two mosques during Friday prayers, killing at least 50 people.

Mr Erdogan, who is trying to drum up support for his Islamist-rooted AK Party ahead of the 31 March local elections, said Turkey would make the suspected attacker pay if New Zealand did not.

The comments came at a campaign rally that included video footage of the shootings which the alleged gunman had broadcast on Facebook.

Ms Ardern said foreign minister Winston Peters would seek urgent clarification.

New Zealand shootings: Victims of Christchurch mosque terror attacks Show all 11 1 /11 New Zealand shootings: Victims of Christchurch mosque terror attacks New Zealand shootings: Victims of Christchurch mosque terror attacks Zakaria Bhuiyan People gather hoping to find out information about Zakaria Bhuiyan who is still missing after the mosques shootings in Christchurch. David Moir/AFP New Zealand shootings: Victims of Christchurch mosque terror attacks Mucad Ibrahim Three-year-old Mucad Ibrahim, the youngest known victim of the mass shooting at two mosques in Christchurch, New Zealand, on 15 March 2019. Abdi Ibrahim via AP New Zealand shootings: Victims of Christchurch mosque terror attacks Nadeem Rasheed Nadeem Rasheed, brother of Pakistani Naeem Rashid who died alongside his son Talha Naeem, 21, who were killed in shooting at a Mosque in Christchurch, at their home town in Abbottabad, EPA New Zealand shootings: Victims of Christchurch mosque terror attacks Omar Nabi Omar Nabi speaks to the media about losing his father Haji Daoud Nabi, 71, in the mosque attack REUTERS New Zealand shootings: Victims of Christchurch mosque terror attacks Ash Mohammed Ash Mohammed, right, talks to a police officer about his father and two brothers who are missing near the Masjid Al Noor mosque AP New Zealand shootings: Victims of Christchurch mosque terror attacks Akhtar Khokhur Akhtar Khokhur, 58, shows a picture of her missing husband Mehaboobbhai Khokhar, 65. AP New Zealand shootings: Victims of Christchurch mosque terror attacks Wasseim Alsati A note is seen on a window of a door at the family home of Wasseim Alsati in Christchurch on 17 March 2019. AFP/Getty Images New Zealand shootings: Victims of Christchurch mosque terror attacks Haroon Mahmood Relatives offer condolences to nephew (centre) of Haroon Mahmood, a Pakistani citizen who was killed in Christchurch mosque shootings. AP New Zealand shootings: Victims of Christchurch mosque terror attacks Farid Ahmed Farid Ahmed (pictured) survived the Al Noor mosque shootings but his wife Husne was killed. AFP/Getty Images New Zealand shootings: Victims of Christchurch mosque terror attacks Syed Areeb Ahmed A relative shows a picture of Syed Areeb Ahmed, a Pakistani citizen who was killed the Christchurch mosque shooting. AP New Zealand shootings: Victims of Christchurch mosque terror attacks Naeem Rashid A relative looks at a picture on a mobile phone of Pakistani nationals Naeem Rashid and his son Talha Naeem (right) who died in the Christchurch shootings. AFP/Getty Images

“Our deputy prime minister will be confronting those comments in Turkey,” she told reporters in Christchurch on Wednesday.

“He is going there to set the record straight, face to face.”

Mr Peters had earlier condemned the airing of footage of the shooting, which he said could endanger New Zealanders abroad.

But despite the politician’s intervention, an extract from Mr Tarrant’s alleged manifesto flashed up on a screen at the rally in Turkey again on Tuesday, along with footage of the gunman entering one of the mosques and shooting as he approached the door.

Jacinda Ardern comforts people at the Kilbirnie mosque in Wellington on Sunday (Getty)

Meanwhile, Australian prime minister Scott Morrison said he summoned Turkey’s ambassador for a meeting, during which he demanded Mr Erdogan’s comments be removed from Turkey’s state broadcaster.

He told reporters in Canberra: “I will wait to see what the response is from the Turkish government before taking further action, but I can tell you that all options are on the table.”

Support free-thinking journalism and attend Independent events

Mr Morrison said Australia’s ambassador to Turkey will meet with members of Mr Erdogan’s government on Wednesday.

He said Canberra is also reconsidering its travel advice for Australians planning trips to Turkey.

Relations between Turkey, New Zealand and Australia have generally been good.

Thousands of Australians and New Zealanders travel to Turkey for memorial services every year on 25 April to commemorate Anzac Day, which remembers all those who have served and died in wars and conflicts.