So if someone sees a bad dream, he should spit to his left side and seek refuge with Allah, that is, recite «اعوذ بالله من الشيطان الرجيم».