(15) The Book of Pilgrimage
كتاب الحج
(89) Chapter: The prohibition of wishing ill towards the people of Al-Madinah, and that the one who wishes them ill will be caused to melt by Allah
(89) باب مَنْ أَرَادَ أَهْلَ الْمَدِينَةِ بِسُوءٍ أَذَابَهُ اللَّهُ ‏‏
Sahih Muslim 1386 c 

This hadith is narrated on the authority of Abu Huraira by another chain of transmitters.

حَدَّثَنَا ابْنُ أَبِي عُمَرَ، حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي هَارُونَ، مُوسَى بْنِ أَبِي عِيسَى ح وَحَدَّثَنَا ابْنُ أَبِي عُمَرَ، حَدَّثَنَا الدَّرَاوَرْدِيُّ، عَنْ مُحَمَّدِ بْنِ عَمْرٍو، جَمِيعًا سَمِعَا أَبَا عَبْدِ اللَّهِ، الْقَرَّاظَ سَمِعَ أَبَا هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم ‏.‏ بِمِثْلِهِ ‏.‏
Reference : Sahih Muslim 1386c
In-book reference : Book 15, Hadith 564
USC-MSA web (English) reference : Book 7, Hadith 3196
  (deprecated numbering scheme)