حَدَّثَنَا عُبَيْدُ بْنُ غَنَّامٍ، ثنا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، ثنا هُشَيْمٌ، عَنْ يَعْلَى بْنِ عَطَاءٍ، عَنْ وَكِيعِ بْنِ عُدُسٍ الْعُقَيْلِيِّ، عَنْ عَمِّهِ أَبِي رَزِينٍ الْعُقَيْلِيِّ، أَنَّهُ سَمِعَ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «الرُّؤْيَا عَلَى رِجْلِ طَائِرٍ مَا لَمْ تُعَبَّرْ، فَإِذَا عُبِّرَتْ وَقَعَتْ»
وَقَالَ: «الرُّؤْيَا جُزْءٌ مِنْ سِتَّةٍ وَأَرْبَعِينَ جُزْءًا مِنَ النُّبُوَّةِ» ، وَأَحْسَبُهُ قَالَ: «وَلَا يَقُصَّهَا إِلَّا عَلَى وَادٍّ أَوْ ذِي رَأْيٍ»
It is narrated from Sayyiduna Abu Razin al-Uqayli (may Allah be pleased with him) that he heard the Messenger of Allah (peace and blessings be upon him) say: "A dream is on the foot of a bird as long as it is not interpreted; once it is interpreted, it comes to pass."
And he said: "A dream is one of forty-six parts of prophethood." And I think he (peace and blessings be upon him) also said: "He should tell it only to someone who loves (him) or someone of sound judgement."