ENOfficial
Abu Huraira told that when God's messenger was asked to invoke a curse on the polytheists, he replied, "I was not sent as one given to cursing; I was sent only as a mercy." Muslim transmitted it.
Source: sunnah.com
Other translations
Arabic
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قِيلَ: يَا رَسُولَ اللَّهِ ادْعُ عَلَى الْمُشْرِكِينَ. قَالَ: «إِنِّي لَمْ أُبْعَثْ لَعَّانًا وَإِنَّمَا بُعِثْتُ رَحْمَةً» . رَوَاهُ مُسْلِمٌ
sunnah.com