(2) باب لاَ يُخْبِرُ بِتَلَعُّبِ الشَّيْطَانِ بِهِ فِي الْمَنَامِ
Jabir reported that there came to Allah's Apostle (ﷺ) a desert Arab and said:
Allah's Messenger, I saw in the state of sleep as if my head had been cut off and I had been moving on haltingly after it. Thereupon Allah's Messenger (ﷺ) said to that desert Arab: Do not narrate to the people the vain sporting of satan with you in your sleep and (the narrator) also said: I heard Allah's Messenger (ﷺ) in his subsequent address: None amongst you should narrate the vain sporting of devil with him in the dream.
Reference: Sahih Muslim 2268 d
In-book reference: Book 42, Hadith 30
USC-MSA web (English) reference(deprecated numbering scheme): Book 29, Hadith 5641