Jami` at-Tirmidhi, Book 34, Hadith 9 (Tirmidhi 2346)

Waki' bin 'Udus narrated that Abu Razin Al-'Uqaili said:

" The Messenger of Allah (s.a.w) said: " The believer's dreams are a portion of the forty portions of Prophet-hood. And it is (as if it is) on the leg of a bird, as long as it is not spoken of. But when it is spoken of it drops." I think he said: " And it should not be discussed except with an intelligent one or a beloved one."