Sahih Muslim, Book 42, Hadith 17 (Muslim 5853)

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

The vision of a pious man is the forty-sixth part of Prophecy.