If he was he never mentioned it publicly. You're probably thinking of his essay "On the Jewish Question" where Marx's argument is that even if all the negative stereotypes of Jews were true (greed, usury, scheming), they're all features of capitalism anyway. The most noteworthy bigoted thing I can think of is one time Marx called Ferdinand Lassalle a combination of slurs in a private letter to Engels.
Now compare Marx to some of his vocally antisemitic contemporaries like Bruno Bauer who wanted Judaism made illegal, or Proudhon who wanted complete genocide.
Was looking through the Quran too but didn't find a statement where Mohammed condemns the actions of HAMAS and expresses solidarity with the state of Israel, pretty problematic imo