Purana Jyotisha Sangraha · by Vyasa
Chapter 8 · Dreams and Eclipse Rules
ब्रह्मवैवर्तपुराणम् : शुभाशुभस्वप्नाः ग्रहणनियमाश्च
उक्त्वा काश्यपगोत्रञ्च विपत्तिं लभते ध्रुवम् ।दुर्गते दुर्गतिं याति नीचे व्याधिं प्रयाति च ॥ ११ ॥
From the Brahmavaivarta Purana, print Krishna-janma Khanda ch 77, verse 11.
Telling the dream to a person of Kashyapa gotra (clan line) may bring misfortune. Told to one in hard times, he may fall on hard times. Told to a mean-hearted one, he may fall ill.
Simple meaning: Telling a dream to the wrong person is said to turn its result bad.
Classical view, not medical advice.
शत्रौ भयञ्च लभते मूर्खे च कलहं लभेत् ।
Telling a dream to an enemy, fool, lover or at night is said to bring trouble.
निद्रायां लभते शोकं पण्डिते वाञ्छितं फलम् ।
Tell a dream to a learned person, not while drowsy and not to a Kashyapa.
गवाञ्च कुञ्जराणाञ्च हयानाञ्च व्रजेश्वर ।
The text begins a list of good dream sights.