“(Good) dreams come from Allah and (bad) dreams come from Satan,
so
if anyone of you sees something that he dislikes, let him spit
dryly
to his left three times, and seek refuge with Allah from the
accursed
Satan three times, and turn over onto his other side.”
Sunan Ibn Majah Book 35, Hadith 17