From Sahih Bukhari (Hadith 5753):
Narrated `Abdullah bin `Umar:Allah's Messenger (ﷺ) said, "There is neither 'Adwa (no contagious disease is conveyed to others without Allah's permission) nor Tiyara, but an evil omen may be in three a woman, a house or an animal
Reference: Bukhari 5753