It happened on East 7th Street in the Gravesend section at 9:38 a.m. on Wednesday.
The 9-year-old boy was attending a bris at the synagogue where the 42-year-old suspect was praying.
The man apparently asked the child to go outside and the boy said, "No."
The suspect then picked the child up and attempted to walk out with him.
The boy's mother appeared and intervened, and asked him if he knew the man.
Her son said he did not and she pulled him away, leading the suspect to run off. Others at the synagogue did know the man.
The suspect, later identified as 42-year-old Yossi Mayer, was located by Flatbush Shomrim allegedly hiding in a nearby yeshiva.
Mayer does not appear to have a connection to the yeshiva where the attempted abduction happened.
He was charged with kidnapping, endangering the welfare of a child and harassment.
ALSO READ | NYPD addresses backlash over viral video of officers taken after Drake concert at the Apollo
NYPD responds to backlash over video taken after Drake concert
----------
* More Brooklyn news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube