"A good vision comes from Allah and a dream (hulm) from the devil... he must spit on his left (three times), and seek refuge in Allah from its evil."
What the hadith says
Dreams are classified by their supernatural origin — good dreams from Allah, bad dreams from Satan — and the prescribed counter-measure for a bad dream is three leftward spits combined with verbal refuge-seeking from Satan.
Why this is a problem
Leftward spitting as protection against evil spirits, three times, in the direction associated with the demonic in Arabian cosmology, is the formal structure of pre-Islamic apotropaic ritual. Wikipedia's documentation of superstition in the Islamic tradition records the absorption of pre-Islamic apotropaic ritual into canonical practice; the polemical website WikiIslam's catalogue of strange Islamic traditions identifies the three-spit dream protocol as a direct import from the existing folk-magical cosmology. The same protective-spitting pattern appears in pre-Islamic Arabian and Near Eastern folk traditions for warding off malign supernatural influence. Adding a verbal formula (seeking refuge in Allah) gives it an Islamic label without changing the structural mechanics. Dreams as Satan's domain and left-side spitting as the counter-move are both features of the pre-existing folk-magical tradition, absorbed into Islamic practice with a new theological overlay.
The Muslim response
Muslim scholars argue that the left-spitting practice is a Prophetically-prescribed counter-measure whose directional specificity reflects the cosmological reality of the Islamic world-picture: the left side is associated with Satan in Islamic tradition, the right side with angels and righteousness. Leftward spitting is not a carryover from pre-Islamic superstition but is derived from the Islamic theological framework itself, in which Satan approaches from the left, whispers from the left, and is repelled by rightward orientation. The three-spit action is a physical expression of rejection — spitting is an act of contempt and dismissal in Arabic culture — combined with verbal invocation of divine protection. The practice is internally coherent within Islamic theology and cosmology.
Why it fails
The response derives the ritual from Islamic left/right cosmology — but that cosmology is precisely what is at issue. The association of the left side with the demonic was not invented by Islam; it is a standing feature of pre-Islamic Arabian and broader Near Eastern folk belief, the very framework from which the spitting protocol itself comes. Appealing to the left-Satan symbolism to prove the practice is Islamic rather than inherited is circular: it explains one absorbed element by citing another absorbed element. Wikipedia's documentation of superstition in the Islamic tradition records exactly this pattern — folk cosmology and folk counter-measure imported together, then presented as a single internally coherent theological system. And the response leaves the protocol's other parameter untouched: nothing in Islamic theology derives the number three, a stock figure of pre-Islamic incantation, as the required count of spits. A framework that absorbs both the cosmology and the gesture, and can derive neither independently, has not generated the practice; it has labeled it. That is the structural definition of pre-Islamic folk ritual absorbed into canonical religion.