(2) باب لاَ يُخْبِرُ بِتَلَعُّبِ الشَّيْطَانِ بِهِ فِي الْمَنَامِ
Jabir reported Allah's Messenger (ﷺ) as saying:
There came to him (the Holy Prophet) a desert Arab and said: I saw in a dream that I had been beheaded and I had been following it (the severed head). Allah's Apostle (ﷺ) reprimanded him saying: Do not inform about the vain sporting of devil with you during the night.
Reference: Sahih Muslim 2268 c
In-book reference: Book 42, Hadith 29
USC-MSA web (English) reference(deprecated numbering scheme): Book 29, Hadith 5640