Translation
(91) Interpretation of Dreams
كتاب التعبير
(10) Chapter: Whoever saw the Prophet (saws) in a dream
(10) باب مَنْ رَأَى النَّبِيَّ صلى الله عليه وسلم فِي الْمَنَامِ
Sahih al-Bukhari 6994 

Narrated Anas:

The Prophet (ﷺ) said, "Whoever has seen me in a dream, then no doubt, he has seen me, for Satan cannot imitate my shape.

حَدَّثَنَا مُعَلَّى بْنُ أَسَدٍ، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ مُخْتَارٍ، حَدَّثَنَا ثَابِتٌ الْبُنَانِيُّ، عَنْ أَنَسٍ ـ رضى الله عنه ـ قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏ "‏ مَنْ رَآنِي فِي الْمَنَامِ فَقَدْ رَآنِي، فَإِنَّ الشَّيْطَانَ لاَ يَتَخَيَّلُ بِي، وَرُؤْيَا الْمُؤْمِنِ جُزْءٌ مِنْ سِتَّةٍ وَأَرْبَعِينَ جُزْءًا مِنَ النُّبُوَّةِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 6994
In-book reference : Book 91, Hadith 13
USC-MSA web (English) reference : Vol. 9, Book 87, Hadith 123
  (deprecated numbering scheme)