No. The catalyst for all Islamic terrorist attacks is Muhammad and the quran!
I suggest doing a little research about Europe ca 1900 to 1945. At the end of WWI we had this bright idea that each country in Europe should be the homeland of a single ethnicity. So we divided up the losing countries depending on Ethnicity. Which was dumb, because the ethnic make-up was absurdly fractured and various groups lived a bit everywhere. A bit like Syria today. Well.. what's left of it.
The result of doing this was that whatever majority group was handed the reigns in any country quickly retracted citizenship of any of it's minorities. Leaving millions in Europe without citizenship. And... more importantly... without anywhere to go. Because nobody would take them. Hungary had no inclination to allow stray Hungarians in Romania (who were seen as foreigners) to return to their mother country. It was the same for all these countries. In most of these countries the residents without citizenship had their right to work and live taken away. So they could be living on a farm their family had had for half a millenia and now had to resort to criminality. They weren't going to leave. Moving was a big deal back then, and virtually suicide. So we got a big black market of these "criminals". It was a major problem.
My point with saying all this is that these "unwelcomes" started doing stuff that we today associate with "Islamic terrorism" today. The rootless people resorted to anarchistic terrorism (the flavour of the day). Or communist terrorism. Or nationalistic terrorism. Bosnians engaged in Islamic terrorism. You'd have to be a complete idiot to single out the Muslims in this situaion as special. They were not. Yet, many did... which led to the rise of Fascism and Nazism. You are doing the same mistake. You're failing to connect (the pretty obvious dots) IMHO.
Having refugees floating around aimlessly is dangerous. Having anybody floating around unwelcome is dangerous. And it's not as simple as "refugees should stay close to their origins". Terrorism and these kinds of behaviours has a way of spreading. Plane tickets are cheap.
It's important to understand that any group of people, put under enough social stress, will turn violent. Mostly against their own group. And they'll use whatever bullshit excuse they have available. Islam really isn't special.
edit:
Every fucking time it's the same. Every refugee crisis follows a predictable pattern and this one is no different.
1) war
2) refugees looking for refuge
3) all countries around it do their best to not take in refugees while technically following the UN charter. They also get bitter about that countries further away take no responsibility at all.
4) clusterfuck. More for those immidiately around it, but the unrest inevitably spreads across the world.
It could easily be avoided by doing this instead
1) war
2) refugees looking for refuge
3) all countries of the world have a pow wow about what to do about it.
4) They all pitch in. Camps are set up around the world to take pressure off the countries closest to the conflict.
5) Transports are organised to help move the refugees.
6) the refugees are quickly integrated into the societies they have been moved to. Having a job and something to do all day is important for people. Especially people who have been traumatised by stuff, like war for example.
7) After peace the refugees are moved back.
Right now we put every impediment we can think of in the way of the refugees. People who are fleeing in panic from their homes. No shit that doesn't work out.