Sahih Muslim , Book 39, Hadith 142 (In-Book)

Abu Huraira reported Allah's Messenger as saying: There is no trahsitive disease. Thereupon a desert Arab stood up. The rest of the hadith is the same and in the hadith transmitted on the authority of Zuhri' the Prophet is reported to have said: There is no transitive disease, no safar, no hama.

وَحَدَّثَنِي عَبْدُ اللَّهِ بْنُ عَبْدِ الرَّحْمَنِ الدَّارِمِيُّ، أَخْبَرَنَا أَبُو الْيَمَانِ، عَنْ شُعَيْبٍ، عَنِ الزُّهْرِيِّ، أَخْبَرَنِي سِنَانُ بْنُ أَبِي سِنَانٍ الدُّؤَلِيُّ، أَنَّ أَبَا هُرَيْرَةَ، قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ لاَ عَدْوَى ‏"‏ ‏.‏ فَقَامَ أَعْرَابِيٌّ ‏.‏ فَذَكَرَ بِمِثْلِ حَدِيثِ يُونُسَ وَصَالِحٍ ‏.‏ وَعَنْ شُعَيْبٍ عَنِ الزُّهْرِيِّ قَالَ حَدَّثَنِي السَّائِبُ بْنُ يَزِيدَ ابْنُ أُخْتِ نَمِرٍ أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏"‏ لاَ عَدْوَى وَلاَ صَفَرَ وَلاَ هَامَةَ ‏"‏ ‏.‏

sunnah.com