Three men died and four others were hospitalized in Pittsburgh early Sunday morning as a result of overdoses, the authorities said.

All of the men were wearing orange paper bands on their wrists and had been at the same event at the same venue, the police said. The men left the venue, which officials did not identify, to go to a private residence, where they overdosed on drugs together, the police said.

“To be clear, this was not a case of a tainted drug being passed around or distributed in large volume at a large venue which could have affected even more people,” Chris Togneri, a spokesman for the Department of Public Safety, said. “It appears to have been isolated to a single location.”

Officials did not identify the drugs that had led to the overdoses. However, in a statement, the police said they were concerned about “a tainted, potentially deadly batch of drugs in the community.”