Shi'ite mourners dressed in black chanted slogans of allegiance to the Prophet Muhammad , and carried placards denouncing cartoon depictions of him .