Abu Salama reported,

"I used to see a dream that would make me ill."He said, I then met Abu Qatada, who said, "I too used to see a dream that would make me ill, until I heard the Messenger of Allah ﷺ say, 'A good dream is from Allah. So if any of you sees what he likes, let him relate it only to those he loves. And if he sees what he dislikes, let him spit to his left three times, seek refuge in Allah from the evil of Satan and from its evil, and not relate it to anyone. Then it will not harm him.'"

Azami 11681

Sahih

عن أبي سلمة قال

إن كنت لأرى الرؤيا تمرضني، قال: فلقيت أبا قتادة، فقال: وأنا كنت لأرى الرؤيا فتمرضني حتى سمعت رسول الله ﷺ يقول: الرؤيا الصالحة من الله، فإذا رأى أحدكم ما يحب، فلا يحدث بها إلا من يحب، وإن رأى ما يكره، فليتفل عن يساره ثلاثا، وليتعوذ بالله من شر الشيطان وشرها، ولا يحدث بها أحدا، فإنها لن تضره.

الأعظمي 11681صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Dreams and their interpretation
Chapter
Medicine
Section
One who sees a dream he likes
Numbering
Jami al-Kamil 11681 (2nd edition)
Azami 11681