A GOOD VISION H 852 "When you see a vision that you like, it is from Allah. You should praise Allah for it and tell of it. You should not speak of it except to those you like. When you see a dream you do not like, it is from satan. You should seek the protection of Allah against it and should not mention it to anyone. Then it will not cause you any harm." R 852 Bukhari and Muslim with a chain up to Abu Sa'id Khudri who related that he heard the Prophet, praise and peace be upon him, say this.
840- وعن أَبي سعيدٍ الخدرِيِّ رضي الله عنه : أنَّه سَمِعَ النبيَّ صلى الله عليه وآله وسلم ، يقول : "إِذَا رَأى أحَدُكُمْ رُؤيَا يُحِبُّهَا ، فَإنَّمَا هِيَ مِنَ اللهِ تَعَالَى ، فَلْيَحْمَدِ اللهَ عَلَيْهَا ، وَلْيُحَدِّثْ بِهَا - وفي رواية : فَلاَ يُحَدِّثْ بِهَا إِلاَّ مَنْ يُحِبُّ - وَإِذَا رَأَى غَيْرَ ذَلِكَ مِمَّا يَكْرَهُ ، فإنَّمَا هِيَ مِنَ الشَّيْطَانِ ، فَلْيَسْتَعِذْ مِنْ شَرِّهَا ، وَلاَ يَذْكُرْهَا لأَحَدٍ ؛ فَإنَّهَا لا تَضُرُّهُ" متفقٌ عَلَيْهِ .