It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "There is no reality to evil omens, and the harm of an evil omen falls only upon the one who takes the omen. And if (ill-luck) were (possible) in anything, it would be in a house, a horse and a woman."
Imam Ibn Hibban (may Allah have mercy on him) narrated it like this,
and in the two Sahihs there is a similar narration from the hadith of Sayyiduna Ibn Umar (may Allah be pleased with them both).
Related hadith on this topic