It is narrated from Sayyiduna Ibn Mas'ud (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "A true and righteous dream is one of seventy-six parts of prophethood."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10494