I hope it is correct that most muslims are loyal to their adopted countries if not its gonna be ugly
Note I said "many" not "most".
They don't have a sense of "nationality". They have a sense of "religious identity" and that serves as their nationality.
Until their adopted countries adopt Islam, Muslims will not be "loyal" to them.