Islam as a religion focuses primarily on the immutable aspects of life and existence, whereas a political system concerns only social aspects of our worldly life.
Politics can be a factor neither in shaping Islam nor directing Muslims' acts and attitudes in Islam's name.
Islam abhors and absolutely condemns terrorism and any terrorist activity.