As has been pointed out Sharia law is far more widespread than you are suggesting.
In addition the idea that poverty has anything to do with terrorism is a flat out lie. Africa is one of the poorest regions of the world, and yet we see little international terrorism from them. The far more wealthy middle east is the epicentre of terror. The terrorists themselves are usually middle class or very wealthy. Osama Bin Ladin was a millionaire not a poor Afghan goat herder.
The UAE was the center of the financing of the 911 attack, and Saudi Arabia, NOT Banglasdesh, was the recruiting ground for most of the attackers. Consistently the terrorists come the well-to-do, not the poor and downtrodden.
Yasir Arafat said he “visited a lot of places on vacations” as a tourist. “I was once very rich,” he said. “I used to go to Europe. I visited Greece, Italy, France, Switzerland, Austria.”
In addition, he said, “I had a pocketful of money, like any tourist, and I enjoyed myself. I was well on the way to being a millionaire,” Mr. Arafat said, but “I gave all my wealth to the revolution.”
Mohammed Atta studied architecture and he received his degree from Cairo University in 1990. Atta went on to study urban planning at a technical university in Hamburg. Later, he piloted the first plane that hit the twin towers on Sept. 11. Attas family owned a posh beach-front property in Egypt, and his two older sisters are a university lecturer and a doctor. His father was a lawyer.