The musician said another performer had called 311 to report the large gathering, which had also drawn complaints from neighbors.

“This was in direct violation of the directives that are in place to protect all people’s health and safety,” James Long, the director of public information for the Fire Department, said in an interview.

“We inspected it and it was recommended to end the event because of the state’s guidelines and directives regarding Covid-19,” Mr. Long said.

He said that officials responded to the scene because someone had called to complain, and the venue was issued a violation.

Norma Reyes, 51, a caseworker who lives across the street from the venue, said she watched dozens of people leave the hall. “What about social distancing?” she asked. “How can we be safe?”

The celebration raised questions about pandemic preparedness for a community ravaged by a measles outbreak that began in 2018. Last April, a preschool housed in the same building as the wedding was closed by the city for violating a Health Department order that required it to provide medical and attendance records as part of efforts to fight the measles.