Sahih al-Bukhari, Hadith 3681 ⓘ
Narrated Hamza's father: Allah's Messenger said, "While I was sleeping, I saw myself drinking (i.e. milk), and I was so contented that I saw the milk flowing through my nails. Then I gave (the milk) to `Umar." They (i.e. the companions of the Prophet) asked, "What do you interpret it?" He said, "Knowledge."
حَدَّثَنِي مُحَمَّدُ بْنُ الصَّلْتِ أَبُو جَعْفَرٍ الْكُوفِيُّ، حَدَّثَنَا ابْنُ الْمُبَارَكِ، عَنْ يُونُسَ، عَنِ الزُّهْرِيِّ، قَالَ أَخْبَرَنِي حَمْزَةُ، عَنْ أَبِيهِ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " بَيْنَا أَنَا نَائِمٌ شَرِبْتُ ـ يَعْنِي اللَّبَنَ ـ حَتَّى أَنْظُرُ إِلَى الرِّيِّ يَجْرِي فِي ظُفُرِي أَوْ فِي أَظْفَارِي، ثُمَّ نَاوَلْتُ عُمَرَ ". فَقَالُوا فَمَا أَوَّلْتَهُ قَالَ " الْعِلْمَ ".
also referenced under: Book 62, Hadith 31 (In-Book) & Volume 5, Book 57, Hadith 30 (USC-MSA)