Sahih Muslim, Book 39, Hadith 142 (Muslim 5732)

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.