Birth rates have been below replacement in most of Europe. To pay for their safety nets, I am sure they look at in-immigration as an answer, hoping against hope that the newcomers can pull their weight, plus the load of retirees.
But the reality of recent years across Europe is that these immigrants do not pull their own weight, let alone contribute to the contribution of the local economies.
I cite those truths, irrespective of the religious aspect. They wind up in public housing complexes, in what turn out to be like ghettos.
Going back a few decades, the UK brought in some people from their Commonwealth locations, like India, Pakistan etc. In the 1970s I worked in an international firm with an officer in London that was a Zoroastrian chartered accountant from Bombay. He was more British than the British.
Germany needed workers in the late 50s and the 60s. So they brought in people mostly from Southern Europe and Turkey. Guest Workers.
They were good workers, and contributed to their economy. It would be later generations of Turks that would become problems, and it was similar in the UK.
The upheavals in the Balkans during the 1990s brought many refugees to central Europe, including some that were Muslims.