Three guests were shot early Friday outside a Gordon Heights residence where a birthday party was being held, Suffolk County police said.

Several people were outside a house on Wilson Avenue about 1:45 a.m. when the three men — a 20-year-old from Selden, a 30-year-old from Bellport and a 21-year-old, also from Bellport — were shot, police said.

advertisement | advertise on newsday

They were taken by private vehicles to hospitals where they were treated for non-life-threatening injuries, police said in a news release.

Police said the victims were guests at the party.

The investigation is continuing. Detectives ask anyone with information to call the sixth squad at 631-854-8652 or Suffolk Crime Stoppers at 800-220-8477.