It was not authentically reported that a dead person can see the Prophet in his grave
After death and burial, does a person see the Prophet (peace be upon him) in the grave?
Shall he be asked, 'what do you say about this man (the Prophet)' even if many people may die simultaneously; how are they all asked at the same time? What is the language used in questioning; the mother tongue, Arabic, or Syriac?
When the person dies and people bury him in the grave, two angels come to ask him about his Lord, (Part No. 3; Page No. 451) his prophet, and his religion. The angels will speak to him in a language that he understands. The believers will answer while the disbelievers will not. Even if many people die at the same time, the angels will ask them. There is nothing strange about this because angels are unlike humans. It is not authentically reported that the dead person sees the Prophet (peace be upon him) in the grave as far as we know.For further information in this regard and other relevant issues, refer to the books Al-`Aqidah Al-Wasitiyyah by Shaykhul-Islam
Ibn Taymiyyah, and Al-Usoul Al-Thalathah by Shaykhul-Islam
Muhammad ibn `Abdul-Wahhab. May Allah grant us success. May peace and blessings be upon our Prophet
Muhammad, his family, and Companions!