Admonition from the Deceased
Interpreters suggest that if someone dreams of a deceased person admonishing them or teaching them knowledge, they might achieve righteousness in their religion in proportion to the admonition or knowledge received.
Per Ibn Sirin's Muntakhab al-Kalam fi Tafsir al-Ahlam
Note: These are traditional scholarly interpretations (ijtihad) drawn from a specific classical source — not a binding religious ruling, fortune-telling, or a prediction of the future.