Non-Muslim residents have opposed the construction of a mosque in a South Korean city, triggering dismay among a small Muslim community.