Abu Hurairah reported,

The Prophet ﷺ said, "Dreams are of three kinds. Some are good news from Allah, some are the soul's own musings, and some are intimidations from Satan. If any of you sees a dream that pleases him, let him relate it if he wishes. But if he sees something he dislikes, let him not tell anyone about it, and let him get up and pray."

Ibn Majah 3906

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا هوذة بن خليفة حدثنا عوف عن محمد بن سيرين

عن أبي هريرة

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

ابن ماجه 3906صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Dream interpretation
Chapter
Dreams are of three kinds
Numbering
Darussalam 3906
Ibn Majah 3906