If there is a mosque in the near vicinity then yes Muslim should got there. This is true in most Muslim countries. But if there is no mosque close to home then Muslims can pray at their home.