Iran’s January massacre of protesters has left scars far beyond the streets. In cemeteries and hometowns, families are transforming centuries-old mourning rites into defiant celebrations of lives cut short.

In a striking break from convention, thousands of families gathering for 40th-day rituals in homes and cemeteries across the country in recent days replaced the traditionally solemn, religiously infused ceremonies with clapping, cheering, and dancing — open displays of defiance.

The iconoclastic ceremonies have angered state supporters. Alireza Dabir, a conservative politician and former wrestling champion, lashed out at grieving families. “Their children got killed and they’re dancing over the corpses. I can’t help but take a dig at these useless people. May God give these useless people some brains,” he told reporters.

But for many mourners, the dancing is neither celebration nor denial. It is a refusal to grieve on prescribed terms. The music and dance have become a language of protest — one that transforms funerals into acts of collective memory and, perhaps, the foundation of a new tradition.

Raha Bohloulipour was 23, a student of Italian language at Tehran University. On social media, she wrote about justice and equality and appeared in videos laughing lightheartedly with friends. Before leaving home for what would be the last time, she posted a simple message on Instagram: “Woman, Life, Freedom forever.” She was shot on a street in Tehran.

At her 40th-day memorial in Firouzabad, her hometown in southern Iran, hundreds gathered as her parents danced solemnly to traditional Qashqai folk music, waving green kerchiefs — her favorite color. Some parents in other places danced as long as they could, then broke into tears and collapsed into the arms of relatives, wailing.