Abu Huraira reported it was said to Allah's Messenger (ﷺ):
Invoke curse upon the polytheists, whereupon he said: I have not been sent as the invoker of curse, but I have been sent as mercy."