Udin told the Associated Press that the shooting "could be a net result of the politics that is going on."
According to the New York Daily News, Muslim men gathered at the scene to make clear that they viewed the attack as a hate crime. One man, local resident Khairul Islam, specifically called out Republican presidential nominee Donald Trump, who has stirred controversy during the campaign with proposals to ban Muslim immigrants from entering the country.
"That's not what America is about," Islam, 33, told the paper. "We blame Donald Trump for this ... Trump and his drama has created Islamophobia."
The mosque serves a community of Bangladeshi immigrants.
Those who know Akonjee said he leaves behind a family, including several children.
"A family man has been lost and a scholarly imam has been lost and we are devastated and we want ... peace," Kobir Chowdhury told WCBS.
Police said there is surveillance video in the area showing a man running with a gun.
© 2016 CBS Interactive Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.