Leaders around the world have expressed disgust and sorrow at the killing of 49 people in New Zealand mosques while some also expressed anger at what they described as the demonisation of Muslims that fuelled such attacks.
Western leaders from US President Donald Trump, UK Prime Minister Theresa May and German Chancellor Angela Merkel all expressed solidarity with the New Zealand people on Friday, deploring what the White House called a "vicious act of hate".
But the response from some Muslim countries went further, with leaders blaming politicians and the media for stoking hatred.
"I blame these increasing terror attacks on the current Islamophobia post-9/11 (where) 1.3 billion Muslims have collectively been blamed for any act of terror," Pakistani Prime Minister Imran Khan wrote on social media.
Turkish Foreign Minister Mevlut Cavusoglu said the attack was a result of Muslims being demonised.
"Not only the perpetrators, but also politicians & media that fuel the already escalated Islamophobia and hate in the West are equally responsible for this heinous attack," he tweeted.
Hundreds of angry protesters in the Bangladeshi capital, Dhaka, chanted "Allahu akbar!" (God is Greatest) after Friday prayers.
New Zealand police said 49 people had died and more than 40 were wounded. Three people were in custody including one man who has been charged with murder, police said.
Prime Minister Jacinda Ardern said some of the victims may have been new immigrants or refugees.
None have yet been identified by New Zealand authorities, but Turkey, Jordan and Indonesia have all claimed that several of their nationals were either killed or injured in the attacks.
The 15-member UN Security Council condemned the shootings as "heinous and cowardly" adding acts of terrorism are criminal and unjustifiable. The council stood to observe a moment's silence for the victims on Friday.
Britain's Queen Elizabeth, who is New Zealand's head of state, said she was "deeply saddened by the appalling events" while The Prince of Wales, the Duke and Duchess of Cambridge and the Duke and Duchess of Sussex all offered statements of sympathy and support.
UK Prime Minister May said: "I have been in contact this morning with Prime Minister Jacinda Ardern to express the UK's deepest condolences at the horrifying terrorist attack that took place at two mosques in Christchurch .... The UK stands ready to support New Zealand however we can.
German Chancellor Merkel mourned "with the New Zealanders for their fellow citizens who were attacked and murdered out of racist hatred while peacefully praying in their mosques".
Pope Francis deplored the "senseless acts of violence" and said he "assures all New Zealanders, and in particular the Muslim community, of his heartfelt solidarity in the wake of these attacks".
President Trump described the attack as a "horrible massacre" and said the US stood by New Zealand.
The Palestinian chief peace negotiator, Saeb Erekat, called the attack a "consequence of racist ideologies that continue trying to promote religious wars".
Indonesian President Joko Widodo and the country's two largest Islamic organisations also condemned the shootings.
Norwegian Prime Minister Erna Solberg said the attack brought back memories of 2011, when anti-Muslim extremist Anders Breivik killed 77 people at a youth gathering on a Norwegian island: "It shows that extremism is nurtured and that it lives in many places."
Al-Azhar University, Egypt's 1,000-year-old seat of Sunni Islamic learning, called the attack "a dangerous indicator of the dire consequences of escalating hate speech, xenophobia and the spread of Islamophobia".