No one in the U.S., in the last 47 years, has been killed by a  terror attack  by immigrants from the seven Muslim-majority countries Trump has targeted with immigration bans, according to the Cato Institute.
There is no factual basis for the ban.
It is pure demagoguery on Trump's part.
"Fear makes the wolf bigger than he is." ~German Proverb