It is narrated from Sayyiduna Abu Razin al-Uqayli (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "A dream is one of forty-six parts of prophethood. A dream hangs from the foot of a bird until its owner relates it; once he relates it, it comes to pass. So he should relate it only to someone knowledgeable, a well-wisher, or a loved one."
Hadith Referenceالمعجم الكبير للطبراني / باب اللام / 16512