Abu Qatada reported,

I heard the Messenger of Allah ﷺ say, "True dreams are from Allah and confused dreams are from Satan. If any of you sees something he dislikes, let him spit lightly to his left three times and seek refuge in Allah from its evil, and it will not harm him."He said, "I used to see a dream that weighed on me heavier than a mountain, but as soon as I heard this hadith, I no longer cared about them."

Muslim 5900

Sahih

حدثنا عبد الله بن مسلمة بن قعنب حدثنا سليمان يعني ابن بلال عن يحيى بن سعيد قال سمعت أبا سلمة بن عبد الرحمن يقول

سمعت أبا قتادة يقول

ا سمعت رسول الله ﷺ يقول الرؤيا من الله والحلم من الشيطان فإذا رأى أحدكم شيئا يكرهه فلينفث عن يساره ثلاث مرات وليتعوذ بالله من شرها فإنها لن تضره فقال إن كنت لأرى الرؤيا أثقل علي من جبل فما هو إلا أن سمعت بهذا الحديث فما أباليها

مسلم 5900صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Dreams
Chapter
Recitation of poetry, identifying the most poetic expression, and condemnation of poetry
Numbering
Darussalam 5900
Muslim 5900