Al-Adab Al-Mufrad, Book 39, Hadith 909 (English)

'Abdullah ibn Mas'ud reported that the Prophet, may Allah bless him and grant him peace, said, "Paying attention to the bad omen (tayyara) is association (shirk). It has nothing to do with us. Allah will remove it by reliance on Him."

حَدَّثَنَا أَبُو نُعَيْمٍ الْفَضْلُ، عَنْ سُفْيَانَ، عَنْ سَلَمَةَ بْنِ كُهَيْلٍ، عَنْ عِيسَى بْنِ عَاصِمٍ، عَنْ زِرِّ بْنِ حُبَيْشٍ، عَنْ عَبْدِ اللهِ، قَالَ‏:‏ قَالَ النَّبِيُّ صلى الله عليه وسلم‏:‏ الطِّيَرَةُ شِرْكٌ، وَمَا مِنَّا، وَلَكِنَّ اللَّهَ يُذْهِبُهُ بِالتَّوَكُّلِ‏.‏

sunnah.com