“If anyone of you sees a dream that he dislikes, let him spit dryly to his left three times and seek refuge with Allah from Satan three times, and turn over onto his other side.”
Sunan Ibn Majah Book 35, Hadith 16