Sahih Muslim, Book 42, Hadith 20 (Muslim 5856)

Ibn `Umar reported Allah's Messenger (ﷺ) as saying:

The pious dreams are the seventieth part of Prophecy.