The trouble started at 12:30 a.m., when an 18-year-old man attending a party at Q Lounge on East Gun Hill Road near Laconia Avenue stepped outside and saw a large group of people arguing.

Moments later, he heard gunshots, felt a sting and realized he’d been shot in his left ear. Simultaneously, a 16-year-old boy walking past on his way home was grazed in the buttocks.

The victims were taken to Jacobi Hospital, where they were listed in stable condition. The suspect fled.

QUEENS

* A 32-year-old man was subjected to anti-Muslim slurs and pummeled by a white man on a Sunnyside street yesterday, police said.

The victim was confronted by his attacker at the intersection of 46th Street and Queens Boulevard around 5:30 a.m. After making the derogatory remarks, the assailant, in his 30s, punched the man and fled.

The victim suffered a minor injury and refused medical treatment. Police are investigating the case as a bias incident.