Two of Ayub Ali’s children cowered in their classrooms as a gunman rampaged through their high school in Parkland, Fla., in February, in an attack that killed 17 people.

The children — Elama, 17, and Rahat, 15 — were unhurt. But gun violence again found their family.

On Friday, the students, their two younger siblings and their mother, Farhana, will stand by the grave of Mr. Ali, a 61-year-old grocery store owner who was shot dead in a robbery in North Lauderdale this week. Members of the area’s Bangladeshi community will say prayers. His coffin will be lowered into the ground.

Elama and Rahat, who were still coping with the trauma of the shooting five months ago at Marjory Stoneman Douglas High School, are showing similar signs of distress in the aftermath of their father’s murder, a family spokesman and friend, Mirza Mustaque, said.

The long periods of stunned silence. The disbelief.

“Sometimes they express it by crying, sometimes they are quiet,” said Mr. Mustaque. “We are trying to talk to them, and bring some kids to their home so they can talk, so they don’t feel lonely.”