It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that a man came to the Messenger of Allah (peace and blessings be upon him) and said: "O Messenger of Allah! I see dreams that make me ill." The Messenger of Allah (peace and blessings be upon him) said to him: "A good dream is from Allah and a bad dream is from Satan. So when one of you sees such a dream, let him spit lightly to his left three times and seek refuge from its evil, and it will never harm him."
Hadith Referenceالمعجم الأوسط / باب الباء / 3180
Hadith Gradingمحدثین:إسناده ضعيف لضعف كثير بن سليم
Hadith Takhrij«قال الهيثمي: فيه كثير بن سليم وهو ضعيف وقد وثقه ابن حبان وذكره في الضعفاء «مجمع الزوائد ومنبع الفوائد، ج 7، ص 175»»