And by "it" you mean the Islamic religion I assume?
I don't see what distinction you're trying to make. Is it somehow more acceptable to be prejudice against an entire religion than it is to be prejudice against an entire race? Is that really the discussion you want to have, that some prejudice is acceptable and other prejudice is not?