Sayyiduna Abu Qatadah (may Allah be pleased with him) reports that the Prophet (peace and blessings be upon him) said: "Good dreams are from Allah Almighty, and bad dreams are from Satan. Whoever sees (in a dream) something that displeases him should spit lightly to his left three times and seek refuge with Allah from Satan; then that dream will not harm him. And Satan cannot take on my form." (Allamah al-Haythami says:) I say:
This narration is reported in the "Sahih" in abridged form.
Al-Tabarani recorded it in al-Mu'jam al-Awsat, and its chain is hasan (good).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب التعبير / 11756