I agree, and have asked this question for years . Since Islam, which “created” muslims as a thing did not begin until 612 AD, any Islamic claim to these lands is fanciful.
I call it recentism. A term which refers to a person or group of people who only go just far enough in history to justify their claims.
Mexico likes to make claims on lands in the US, because they controlled them before US, but never mention how they gained control of that land and who they took it from.
“American Indians” like to talk about stolen lands, but never talk about how they were warring, invading, killing, and enslaving other “indigenous “ people long before Europeans showed up.
The Lakota talk about stolen black hills, yet there are at least 7 documented changes of control of black hills before Europeans came.
If the taking of the black hills from the Lakota was wrong and the lands should be given back to the Lakota tribe, then they should be forced to give it back to those they took it from, and those give to who they took it from….
In a broader view, most countries and their borders are all relatively new
The Jews of all people on the earth can trace existing on the lands they now claim(actually much more than modern Israel ) longer than any other people I can think of, and yet their claims are challenged to put it nicely
Also the Dome of the Rock was created as a money making tourist attraction by a caliph to appease his restless court. The legend of Mohammad’s accession was begun to attract tourists.
But after awhile, the fun became boring, so the caliph moved the court back to the original capital in Amman, Jordan, leaving the small village to the Jewish goat herders who lived there.
As for Mohammad, he ascended in some long forgotten place when assassins caught up to him.
The Bible describes how the Jews came to possess Israel.
But just a small point: its not that Muslims claim the land but that “Palestinians” who happen to be Muslim have the claim to the land. Descendants of the Cananites and Philistines, would be the argument, I believe.