Muslims pray inside a mosque in congrgations just like they pray outside a mosque such as their homes on indivisual basis. Except there is a very minute difference when praying behind an imam in congregations. Rest is the very same procedure.
They pray the same way they pray at home, office, open air areas, or anywhere else.
Quba Mosque in Medina is considered the first mosque of Muslim to pray.
mosque
In mosques or at their houses. there is a special women places in mosques for women, because it is forbidden to pray next to men. and it is not a must for women to pray the 5 prays at mosque, they can do that at home. for example Friday Prayer it is a must for men to pray it at mosque, on the contrary of women.
in the Pray hall
in the Pray hall
at a mosque
they pray
Muslims
Both men and women can pray in the same mosque, but definitely not together, men should be in the front row and women stand behind them. Islam doest not allowed men and women to be in the same row while praying either in the mosque or at home. For further details check some of the Islamic sites.
Muslims pray in it.
Mosque