It is narrated with the same chain that the Noble Prophet (peace and blessings be upon him) said: There is no reality in disease being contagious, the month of Safar being inauspicious, worms in the skull of the dead, or the influence of stars.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 9165