It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "There is no reality to (disease) being contagious by itself, there is no such thing as evil omens, there is no reality to the hamah (the Jahiliyyah belief concerning the owl), and there is no reality to (the ill omen of) the month of Safar either."
A man said: "We take a mangy goat and put it among the other goats, and (they too) catch mange." He (peace and blessings be upon him) said: "Then who gave (mange) to the first one?"
Related hadith on this topic