Abu Qatada reported,

The Prophet ﷺ said, "A good dream is from Allah, and a bad dream is from Satan. So when one of you has a bad dream, let him seek refuge from it and spit to his left, then it will not harm him."And from his father, Abdullah bin Abu Qatada narrated to us from his father, from the Prophet ﷺ, the like of it.

Bukhari 6986

Sahih

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

عن أبي قتادة

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

البخاري 6986صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Dream interpretation
Chapter
Righteous dream is one of forty-six parts of prophethood
Numbering
Darussalam 6986
Bukhari 6986