What is مَسَاجِدِ in the phrase «بِمَسَاجِدِ الْمَدِينَةِ»?

Restoring Declension: Indefinite Names, Al- and Iḍāfah