Sayyiduna Abu Qatadah (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) said: "A good dream is from Allah Almighty and a bad dream is from Satan. So if anyone sees a bad dream that frightens him, he should spit three times to his left and seek refuge with Allah from Satan; that dream will not harm him."