I think the concept of banning prayer in public is bonkers, but I see the logic in banning non permited, short notice prayer in the middle of the street that blocks traffic.
If people want to have a large gathering in the park to pray, they should, but with the permit because your occupying a large portion of a public space.
But as it pertains to suddenly kneeling in traffic and praying, I'm in full agreement. That should not happen. I'm open to people praying wherever they want, but it should not and it cannot arbitrarily inconvenience others specifically to block a road.
Why can't they step across to the sidewalk? Why must they be in the center of the road. This is not a rare occurrence, but I think it's the heart of what is being addressed. Even though they may be going at it badly.