It is narrated from Sayyiduna Abu Razin al-Uqayli (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "A dream is one part of forty, or forty-six, parts of prophethood. It hangs on the foot of a bird; when it is interpreted, it comes to pass." Shu'bah (may Allah have mercy on him) said in his narration: And I think he (peace and blessings be upon him) also said: "It should be told only to someone who loves (you) or someone of sound judgement."
Hadith Referenceالمعجم الكبير للطبراني / باب اللام / 16510