You searched for: “oneirophobia
oneirophobia (s) (noun) (no plural)
An intense horror of dreaming: Sam was frightened of the nightmares that he had sometimes, which caused him difficulty in going to sleep, and he found out that it was caused by oneirophobia!