The cartoons , published in European newspapers , have enraged Muslims because Islamic tradition forbids any depiction of the prophet Mohammed to prevent idolatry .