(14) باب الْحُلْمُ مِنَ الشَّيْطَانِ
Narrated Abu Qatada Al-Ansari:
(a companion of the Prophet (ﷺ) and one of his cavalry men) "I heard Allah's Messenger (ﷺ) saying, "A good dream is from Allah, and a bad dream is from Satan; so, if anyone of you had a bad dream which he disliked, then he should spit on his left and seek refuge with Allah from it, for it will not harm him."
Reference: Sahih al-Bukhari 7005
In-book reference: Book 91, Hadith 23
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 9, Book 87, Hadith 133