Jabir reported the Messenger of Allah صلی اللہ علیہ وسلم as saying: When one of you sees a vision which he dislikes, he must spit on his left (three times), seek refuge in Allah from the devil three times, and turn from the side on which he was lying.