Sahih Muslim | Book 29 | Hadith Number 5640

Narrated by Jabir
Jabir reported Allah's Messenger (may peace be upon him) 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 (may peace be upon him) reprimanded him saying: Do not inform about the vain sporting of devil with you during the night.