Sayyidina Abu Saeed Khudri (RA) reported that he heard the Prophet (SAW) say, “If one of you sees a dream that he likes, it is from Allah. So he must praise Allah for that and narrate what he has seen (to others). But, if he sees something other than that-which he disilkes, then it is from the devil, So, let him seek refuge in Allah from its evil and he must not mention it to anyone. Then it will not harm him.”
--------------------------------------------------------------------------------