Sunan Ibn Majah Book 35, Hadith 19
“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 sees a dream that he dislikes, let him turn over and spit dryly to his left three times, and ask Allah for its good and seek refuge from its evil.”
“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.’”