It is perfectly clear that Islam requires believers to assist and protect vulnerable people, whether Muslim or non-Muslim.
The Hijra itself provides an understanding and empathy for what it is like to be persecuted and need to travel to safety - to a place where one can live with protection and sustenance to practice one’s religion and culture.
Human migration has not been liberalized under capitalism as have products, services and finances. Europeans and their leaders must remember their own history, recent and not so recent, and the responsibilities Europe bears for the people on the boats.
Rather than sending in the military, Europe should resettle many more refugees and dismantle the barriers to movement that have been put in the way of all but the most wealthy.