What is wrong with مَرَرْتُ بِالْمَسَاجِدَ?

Ghayr Munsarif: Basic Case Pattern and Exceptions