Muslims refugees can go to Saudi Arabia, Emirates, Malaysia, Bangladeshi can go Pakistan, Pakistani can go to Bangladesh. Or Germany and Sweden can absorb them
If these Muslims are in such dire need, there are many safe Sunni Muslim Gulf Arab nations they can be housed in.