I was under the impression there were quite a number of Islamic states for these folks to live in. They can be migrants in those places if they choose.
Why Egypt and other Arab countries are unwilling to take in Palestinian refugees from Gaza
https://apnews.com/article/palestinian-jordan-egypt-israel-refugee-502c06d004767d4b64848d878b66bd3d
Jordan, Egypt unwilling to take Palestinian refugees, king says
https://thehill.com/policy/international/4259879-jordan-egypt-unwilling-to-take-palestinian-refugees/