People gather for a demonstration Saturday in Queens near the spot where the leader of a New York City mosque and an associate were fatally shot as they left prayers that afternoon. (AP Photo/Craig Ruttle)

An imam and a second community leader were shot to death after leaving their mosque in Queens on Saturday afternoon.

The New York Police Department identified one victim as Imam Maulama Akonjee, 55. According to the Associated Press, the second victim was Thara Uddin, 64, who assisted Akonjee at the Al-Furqan Jame Masjid mosque. Both were shot in the head by a man who approached them from behind, police said.

The NYPD said Saturday evening that officers do not believe the imam and his associate were targeted because of their Muslim faith. “At this time, it does not look like it has anything to do with their race or their religion,” Officer Tiffany Phillips told The Washington Post. Phillips would not say what police believe might be the motive for the shooting, or what evidence led officers to believe religion was not a likely factor.

Police said the two men were shot at about 1:50 p.m. at the corner of Liberty Avenue and 79th Street, three blocks from the mosque. Phillips said the men were apparently coming from the mosque when they were attacked.

Police have interviewed witnesses and have watched surveillance video of a man approaching the victims from behind and fleeing after the shooting, but have made no arrests.

According to AP’s report, members of the Bangladeshi Muslim community served by the mosque expressed fears that whoever killed the two men had targeted Muslims, and they called on authorities to treat the shootings as a hate crime.

Scores of people attending a rally at the shooting site Saturday night chanted, “We want justice!” the AP said.

Shahin Chowdhury, a worshipper at the mosque, told the AP that members of the community had felt animosity lately and had heard people cursing while passing the mosque. Chowdhury said he had advised fellow community members to be careful walking around, especially when in traditional clothing.

He called the imam a “wonderful person” with a voice that made his Koran readings especially compelling, the wire service said.

Neighbors also described Thara Uddin as a pious and thoughtful man who prayed five times a day and went to the mosque, AP reported. While at home, they said he would water his garden and one next door.

“A very honest, wise man … (And) a very helpful guy,” Mohammed Uddin, who is not a relation of Thara Uddin’s, told the wire service.

Want more stories about faith? Follow Acts of Faith on Twitter or sign up for our newsletter.

Arts & crafts and Alzheimer’s prevention: It’s Vacation Bible School for senior citizens

The many meanings of Rio’s massive Christ statue

Spiritual advice for surviving cancer and other disasters