The Paterson mosque that some neighbors said the suspect in Tuesday's deadly terror attack in New York City attended was among several in New Jersey that the New York Police Department targeted as part of a broad surveillance program that was intended to identify "budding terrorist conspiracies."

The Masjid Omar Mosque is on Getty Avenue, around the corner from the apartment where the suspect, Sayfullo Saipov, lived with his family. Wednesday morning, the mosque was within the three-block section that was blocked off because of the investigation of the apartment building, but law enforcement sources said the mosque itself is not under investigation.

Neighbors told The Record and NorthJersey.com that Saipov worshiped there, but mosque members disputed that Wednesday morning. Mohamed Nanaa and Abdallah Abuzid, who came for morning prayers at the mosque Wednesday said they have never seen Saipov at the mosque.

Under the surveillance program, the NYPD allegedly used "mosque crawlers" to listen in on sermons and conversations at mosques and report back what they heard. Officers also recorded license plate numbers, mounted cameras on light poles, mapped and photographed mosques, and listed their ethnic makeup, according to The Associated Press, which first disclosed the existence of the program in 2011, and NYPD documents.

ARCHIVE:NYPD spied on Paterson mosque

TERROR ATTACK:Suspect lived in Paterson, sources say

MIKE KELLY:N.Y. attack reminds us that we're vulnerable

The goal was to have a source inside every mosque within a 250-mile radius of New York, officials told the AP.

It is unclear how far the department got toward reaching that goal, but it is certain that one of its priorities was the Masjid Omar Mosque, which the NYPD identified as a target in a 2006 report. The reactions of Muslims from Paterson and Clifton who visited the mosque for afternoon prayers after The Record first reported the connection in 2012 ranged from bewilderment to anger.

"We are American citizens," Badr Awad of Clifton said. "No one has the right to spy on American citizens. If they don't respect us American citizens, there will be big problems."

The brief NYPD report about the mosque — containing two aerial photos, a map and four sentences of text — did not indicate any criminal activity had ever taken place there or that the surveillance team was looking for anyone in particular. The report noted, though, that the mosque "is believed to have been the subject of federal investigations."

Disclosure of the program's existence triggered two federal lawsuits. The NYPD agreed to greater oversight of its intelligence-gathering operations this year in an attempt to settle one of the suits. The department discontinued the surveillance program in 2014.