Relatives and friends of four family members killed in their Markham home over the weekend gathered for a funeral on Friday afternoon.

Hundreds turned out for the service at the Islamic Foundation of Toronto in Scarborough.

It comes five days after York Regional Police discovered the bodies of four people inside a house on Castlemore Avenue on Sunday afternoon.

The victims have since been identified as 70-year-old Firoza Begum, 50-year-old Momotaz Begum, 59-year-old Moniruz Zaman and 21-year-old Malesa Zaman.

Menhaz Zaman, 23, has been charged with four counts of first-degree murder in the slayings.

He made his second court appearance via video link in Newmarket on Friday.

Wearing glasses and an orange jail jumpsuit, Zaman looked calm during the proceeding. He still does not have a lawyer, but the court heard he is in the process of trying to find one.

The matter was put over to Aug. 8.

Menhaz Zaman has been in custody since York Regional Police discovered the bodies of four people inside a home in Markham on Sunday. (Pam Davies/CBC)

Police have not shared how the victims are connected to each other or the accused, but friends have confirmed that the four who died are the suspect's grandmother, parents and sister.

Shamsu Zaman, the brother of Moniruz, spoke to CBC Toronto before the funeral began. He said his brother was a "very friendly, a very happy guy.

"I don't know how I can recover from this," he said.

Mohamed Ali, a family friend, said that Moniruz and his wife Momotaz moved to Canada from Bangladesh in 1988, first to Montreal and then to Toronto two years later.

He described Moniruz as a "very caring person" and said the Zaman family seemed happy together.

Shamsu Zaman said the community is "broken" and that he feels helpless in the wake of the slayings.

"May God bless them," he said of the family.