PROPHET MUHAMMAD (ﷺ) said:
If one of you sees a dream that he dislikes,
1) Let him spit to his left three times and
2) Seek refuge with Allah from the Shaitan three times, and
3) Let him turn over from the side on which lie was sleeping.
أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
(3 Times)
TRANSLATION:
I seek refuge with Allah from the accursed Shaitaan.
PROPHET MUHAMMAD (ﷺ) said:
Dreams are of three types:
1) A good dream which is glad tidings from Allah,
2) A dream from the Shaitaan which causes distress, and
3) A dream that comes from what a man is thinking of to himself.
If one of you sees something that he dislikes, let him get up and offer Salat (prayer), and not tell people about it.