An inferno erupted early Friday when a vehicle careened into a gas pump at a Wyandanch station, immediately before gunfire was detected from across the street, Suffolk police said.

The blaze and the gunfire left a mystery for First Precinct detectives, who hope witnesses will come forward to say what caused the 2:20 a.m. crash at the BP on Straight Path and whether the gunfire is connected to the crash.

Surveillance footage indicates there was an argument before the crash.

“We’re trying to see if we can maybe find somebody who wants to let us know what happened,” First Precinct Det. Sgt. John Pizzurro said.

“Upon arrival, we found nobody within the vehicle, no victims of violence who can tell us what happened. When we show up, there’s no one there to give us any information,” he said.

Detectives hope they will get leads from the burned 2012 Toyota RAV4, which had not been reported stolen, shell casings found across the street and the gas station’s surveillance footage.

advertisement | advertise on newsday

The video shows at least five individuals in an angry confrontation, according to News 12 Long Island. The vehicle backed up, then accelerated forward rapidly, hitting the pump and triggering an explosion, News 12 said.

Pizzurro said late Friday afternoon that detectives had not yet examined the footage.

He said the gas attendant, who was inside the store at the time, called 911 and told detectives he did not see anyone jumping out of the RAV4. He told officers that there had been customers at the station just before crash, police said.

Moments after the crash, the ShotSpotter system picked up about six gunshots, Pizzurro said.

No injuries were reported, and the fire was put out by the station’s flame retardant system and Wyandanch firefighters, police said.

Pizzurro said nothing yet links the crash to the gunfire.

“For us, it’s a little too early to come up with any sort of theory and who might have been involved,” he said.

Detectives ask anyone with information to call 631-854-8152 or Crime Stoppers at 800-220-8477. All information will be kept confidential.

With Gary Dymski