*: Unlike PR; I would say that the word racism here is indeed inaccurate because islam is not a race; but that doesn't mean that the discrimination is justified either.
If you want to talk about racism you could however talk about racism against arabs though. A surprisingly popular take I've seen is that "black illegal immigrants are ok and want to just work and live an honest life; arabs are not because they only come to do crimes
What the hell? Who says that? I've never heard it from anyone (although I've heard takes along the lines of "blacks are ok because they are mostly christians; arabs are not because they are muslims").
I mean, it is 100% anectdotal evidence, but that was quite the hot take in a reunion I had the other day with some people I know
Not my closest friends or anything but still a bunch of people I meet up sometimes.
A Spanish (flawed) survey did find out that blacks were above arabs and middle easterners in their "approval rating" though (in fact subsaharan African immigrants polled barely above water with like a 5.1/10; while Arabs were the only immigrant group below water at something like 4.2/10)
Of course it also helps that middle eastern immigrants are upwards of 95% muslim; while as significant amount of subsaharan Africans are christian. (which doesn't include black immigrants in Spain from places like the Dominican Republic or Cuba; but those are a very different group despite being the same ""race"")