Allah, the Exalted, said:
١٣٠ - باب الرؤيا وما يتعلق بها
Allah, the Exalted, said:
And of His signs is your sleep by night and day and your seeking of His bounty. Indeed in that are signs for a people who listen.
And on the authority of Abū Hurayrah (may Allah be pleased with him), who said: I heard the Messenger of Allah (peace and blessings be upon him) say: "Nothing remains of prophethood except the bearers of glad tidings." They said: And what are the bearers of glad tidings? He said: "The righteous dream." Narrated by al-Bukhārī.
And on his authority: that the Prophet (peace and blessings be upon him) said: "When the time draws near, the dream of the believer will scarcely be false; and the dream of the believer is one part of forty-six parts of prophethood." Agreed upon. And in a narration: "The most truthful of you in dreams are the most truthful of you in speech."
And on his authority, who said: The Messenger of Allah (peace and blessings be upon him) said: "Whoever sees me in a dream will see me in wakefulness — or it is as though he saw me in wakefulness — for Satan does not take my likeness." Agreed upon.
And on the authority of Abū Saʿīd al-Khudrī (may Allah be pleased with him): that he heard the Prophet (peace and blessings be upon him) say: "When one of you sees a dream that he likes, it is only from Allah, the Exalted, so let him praise Allah for it and speak of it" — and in a narration: "let him not speak of it except to one whom he loves" — "and when he sees other than that, of what he dislikes, it is only from Satan, so let him seek refuge from its evil and not mention it to anyone; for then it will not harm him." Agreed upon.
And on the authority of Abū Qatādah (may Allah be pleased with him), who said: The Prophet (peace and blessings be upon him) said: "The righteous dream — and in a narration: the good dream — is from Allah, and the bad dream is from Satan. So whoever sees something he dislikes, let him blow lightly to his left three times and seek refuge from Satan; for then it will not harm him." Agreed upon. "Al-nafth" is a gentle blowing without any saliva.
And on the authority of Jābir (may Allah be pleased with him), from the Messenger of Allah (peace and blessings be upon him), who said: "When one of you sees a dream that he dislikes, let him spit to his left three times, seek refuge in Allah from Satan three times, and turn over from the side on which he was lying." Narrated by Muslim.
And on the authority of Abū al-Asqaʿ, Wāthilah ibn al-Asqaʿ (may Allah be pleased with him), who said: The Messenger of Allah (peace and blessings be upon him) said: "Among the gravest of lies is that a man claims descent from someone other than his father, or claims his eye saw what it did not see, or attributes to the Messenger of Allah (peace and blessings be upon him) what he did not say." Narrated by al-Bukhārī.