Prime Minister Jacinda Ardern joined about 20,000 people standing quietly at Hagley Park, in front of the Al Noor mosque where most of the victims were killed during Friday prayers last week.
WATCH: New Zealand Prime Minister Jacinda Ardern on Wednesday night announced a ban of all “military-style” semi-automatic weapons and assault rifles
“New Zealand mourns with you. We are one,” she said in a short speech, followed by two minutes of silence.
Most victims of New Zealand’s worst mass shooting were migrants or refugees from countries such as Pakistan, India, Malaysia, Indonesia, Turkey, Somalia, Afghanistan and Bangladesh.
“We are broken-hearted, but we are not broken. We are alive, we are together, we are determined to not let anyone divide us,” Imam Gamal Fouda told the gathered crowd, many wearing headscarves in support of the grieving Muslim community.
“To the families of the victims, your loved ones did not die in vain. Their blood has watered the seeds of hope,” he said in prayers broadcast nationally.
Tens of thousands of people paid their respects around the country with some forming human chains in front of mosques. Others said silent prayers at schools, cafes and even offices.
In Christchurch, relatives of the victims and other mourners thronged into a cemetery where 27 of the victims were laid to rest in a mass burial.
WATCH: March 19 — ‘He shall be nameless’ — New Zealand’s Ardern vows to deny gunman notoriety
“This is a special janazah. We don’t do these every day,” one mourner said over a microphone, referring to an Islamic funeral prayer.
Bank of Canada expected to deliver interest rate hike next week. How high will it go?
NYC is looking for ‘bloodthirsty’ rat czar — and the job pays $228,000
“We don’t bury 27 of our brothers and sisters every day.”
The first to be laid to rest was Naeem Rashid, who was hailed as a hero, killed trying to tackle the gunman at the Al Noor mosque.
Australian Brenton Tarrant, 28, a suspected white supremacist, has been charged with one murder following the Christchurch attack and was remanded without a plea.
He is due back in court on April 5, when police said he was likely to face more charges.
WATCH: March 17 — New Zealand PM signs condolence book for Christchuch victims
Ardern, who swiftly denounced the shooting as terrorism, announced a ban on military-style semi-automatic and assault rifles on Thursday.
She came to Hagley Park surrounded by ministers and security officials, wearing a black headscarf and a black suit. Female police at the park also wore headscarves, with a red rose on their uniforms.
In a powerful speech that lasted about 20 minutes, the imam, Fouda, said through its love and compassion, New Zealand was unbreakable.
“We are here in our hundreds and thousands unified for one purpose – that hate will be undone, and love will redeem us,” he said.
He thanked Ardern for her compassion, saying: “It has been a lesson for world leaders.”
Fouda also denounced Islamophobia, saying it had killed people.
WATCH: March 16 — New Zealand shooting — Prime Minister tells Christchurch Muslims that country is ‘united in grief’
“Islamophobia is real. It is a targeted campaign to influence people to dehumanize and irrationally fear Muslims. To fear what we wear, to fear the choice of food we eat, to fear the way we pray and to fear the way we practice our faith,” he said.
Muslims account for just over 1 percent of New Zealand’s population.
Many women wore headscarves in New Zealand as a sign of support to the community, and a #headscarfforharmony movement was trending on Twitter.
“We are wearing headscarves showing our support, love and solidarity, and hope that by everybody doing this it will demonstrate to Muslim women … that they are one with us,” said Robyn Molony, 65, with a group of friends wearing headscarves at Hagley Park.
Residents of Christchurch are still recovering from a devastating earthquake that hit in 2011, killing 185 and injuring thousands.
“Since the earthquakes, we’ve gone through a lot as a city and we’re a lot more caring and looking out for one another,” said James Sheehan, 62.