Sunan Ibn Majah, Book 35, Hadith 21 (Ibn Majah 3915)

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.”