Sunan Ibn Majah, Volume 5, Book 35, Hadith 3913 (DarusSalam) ⓘ
It was narrated from Jabir that the Messenger of Allah said: “If anyone of you has a bad dream, he should not tell people about how Satan played with him in his dream.”
حَدَّثَنَا مُحَمَّدُ بْنُ رُمْحٍ، أَنْبَأَنَا اللَّيْثُ بْنُ سَعْدٍ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، عَنْ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ قَالَ " إِذَا حَلَمَ أَحَدُكُمْ فَلاَ يُخْبِرِ النَّاسَ بِتَلَعُّبِ الشَّيْطَانِ بِهِ فِي الْمَنَامِ " .
also referenced under: Hadith 3913 (Reference) & Book 35, Hadith 21 (In-Book)