'Abu Qatadah narrated that the Messenger of Allah (s.a.w) said:
"Dreams are from Allah and Hulum are from Shaitan. So when one of you sees something that bothers him, then let him spit on his left three times, and let him seek refuge in Allah from its evil. Then it will not harm him."
English reference: Vol. 4, Book 8, Hadith 2277
Arabic reference: Book 34, Hadith 2446
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.