Salam. Imam al-Dhahabi mentions in his ‘al-Siyar’ in his entry for Imam al-Bukhari (12/391/471):
On the authority of al-Farbari: I saw the Prophet (Allah bless him and give him peace) in a dream, he said to me: Where are you going?
I said: I am going to Muhammad bin Ismaeel al-Bukhari
He replied: Convey my greeting to him
Imam al-Dhahabi also mentions:
Muhammad bin Muhammad bin Makki al-Jurjani said: I heard Abd al-Wahid bin Adam al-Tawawisi say: I saw the Prophet (Allah bless him and give him peace) in a dream, he was with a group of his companions, and he was standing in a place. I greeted him and he replied to the greeting. I said: Why is it that you are standing here O Messenger of Allah?
He said: I am waiting for Muhammad bin Ismaeel al-Bukhari.
After some days (news of) his death reached me, I found that he had passed away during the hour in which I had seen the Prophet (Allah bless him and give him peace).