Islam does not draw any distinction between loyalty to one’s faith and nation. Muslims who enjoy the liberty to practice and preach their faith are required to honour the government of their country, and to live as decent, law-abiding citizens.
For the first thirteen years of his ministry, Prophet Muhammad(sa) and his followers were persecuted citizens in Makkah, yet within that period they never raised arms against their oppressors as they were still able to fulfill certain religious duties.
Prophet Muhammad(sa) is reported to have said:
‘Love for one’s country is part of faith’ (Sakhavi)
Muslims are therefore required to live by this noble teaching and remain loyal to their country. [see also ‘What is Islam’s view on obedience to the law of the land?’]