A father and son who fled the civil war in Syria for "the safest country in the world" were buried before hundreds of mourners on Wednesday.

The funerals of Khalid Mustafa, 44, and Hamza Mustafa, 15, came five days after a white supremacist methodically gunned down 50 worshippers at two mosques in Christchurch - a massacre that he broadcast live on Facebook.

Hamza’s high school principal described the student as compassionate and hardworking, and said he was an excellent horse rider who aspired to be a veterinarian.

Those present included Hamza’s younger brother, 13-year-old Zaed, who was wounded in an arm and a leg during the attack. The boy tried to stand during the ceremony but had to sit back in his wheelchair, one mourner said.

"We tried to not shake his hand, and not touch his hand or his foot, but he refused, he wanted to shake everybody’s hand, he wanted to show everyone that he appreciated them. And that’s amazing," said Jamil El-Biza, who travelled from Australia to attend the funeral.