The righteous dream is from Allaah and the bad dream is from the devil, so if anyone sees something which pleases him then he should only relate it to one whom he loves... Summary of what to do upon having a bad dream: 1. Spit to your left (three times). 2. Seek refuge in Allah from the Devil and from the evil of what you have seen (three times). 3. Do not speak about it to anyone. 4. Turn over on your other side. 5. Get up and pray if you desire to do so.
Muslim 4/1 772, 3.