The Saudi Royal Air Force officer who fatally shot three people at Pensacola, Florida, Naval Air Station hosted a dinner party for a trio of countrymen in the days leading up to the attack — during which they watched mass shooting videos, a report on Saturday said.

Mohammed Saeed Alshamrani, a second lieutenant who was getting aviation training at the base, also visited New York City with the same pals — fellow Saudi military students at the base, an investigative source told The New York Times.

They visited several museums and Rockefeller Center, where the Christmas tree lighting was taking place, the source told the outlet.

Investigators were unsure whether they met with other people while in the Big Apple, or if the trip was an innocent holiday jaunt, or one with a more sinister motive.

That same foursome watched the horrific videos together, a US official briefed by the feds told the Associated Press under the condition of anonymity.

One of the students at the dinner party recorded video outside the classroom during Alshamrani’s Friday morning rampage, the official said.

The two others watched from a car, as Alshamrani, using a semi-automatic handgun equipped with an extended magazine, opened fire just before 7 a.m. inside a classroom at Naval Air Station.

He killed three people and wounded two sheriff’s deputies, before one of them killed him. Eight others were injured.

The three who attended the mass-shootings watch party are believed to be among the total of 10 Saudi students from the base that were being held for questioning.

Officials had yet to say by Saturday night if the shooting was an act of terror, and if Alshamrani acted alone.

“No, I can’t say it’s terrorism at this time,” Defense Secretary Mark Esper told the Reagan National Defense Forum in California, adding he believed investigators needed to be allowed to do their work.

This, despite despite a virulently anti-US twitter account apparently belonging to Alshamrani, which also included a last “will” that quoted Osama bin Laden, according to CNN.

The morning of the shooting a series of tweets appeared on that account, condemning the US and Americans for supporting Israel and for sending troops to “our lands.”

“Do you expect to transgress against others and yet be spared retribution?” the tweets, which were later taken down, asked at one point.