Ibn `Umar reported Allah's Messenger (ﷺ) as saying:
The pious dreams are the seventieth part of Prophecy. (JA)
Reference (JA): Sahih Muslim 2265 a (JA)
In-book reference (JA): Book 42, Hadith 20 (JA)
USC-MSA web (English) reference(deprecated numbering scheme): Book 29, Hadith 5632 (JA)