Sunan Ibn Majah Book 35, Hadith 20
“A man came to the Prophet (ﷺ)
when he
was delivering a sermon and said: ‘O Messenger of Allah! Last
night
in my dream I saw my neck being struck and my head fell off, and
I
chased it, picked it up and put it back.’ The Messenger of Allah
(ﷺ) said: ‘If Satan plays with any one of you in his dreams, he
should not tell people about it.’”
“A man came to the Prophet (ﷺ) and said: ‘I saw my head was cut off and I saw it rolling away.’ The Messenger of Allah (ﷺ) said: ‘Satan goes to one of you and terrifies him, then he tells people of that the next morning.’”
“If anyone of you has a bad dream, he should not tell people about how Satan played with him in his dream.”