Partygoers at a Pink Floyd tribute night in the US have been scolded for shouting abuse at New Jersey police after defying social distancing rules brought in to contain the coronavirus pandemic.

Around 30 people gathered to watch an acoustic rendition of the British rock band’s greatest hits on the front lawn of a home in Rumson, a seaside community south of New York City, that was also broadcast live over social media.

Police were called to end the revelry, but met a hostile crowd on arrival.

“When we informed everyone that they must leave . . . we were met with well wishes of ‘F— the police’ and ‘Welcome to Nazi Germany’,” said the town’s police department via Facebook late on Saturday.

Officers then instructed the band to cut the night short.

“The Rumson Police Department takes no enjoyment in ruining anyone’s fun. However we ALL have a responsibility to take this pandemic SERIOUSLY and adhere to the social distancing requirement,” the police statement said.

Last month, New Jersey governor Phil Murphy ordered residents to stay home and non-essential businesses to shutter indefinitely.

He has since taken to social media to rebuke residents for ignoring the lockdown rules after several news reports of social gatherings.

“Can’t believe I have to say this at all. But here we are. NO CORONA PARTIES. They’re illegal, dangerous, and stupid,” he tweeted last week.