Ibn Seerin Interpretation:
Entering an unknown house in the company of a dead person means he will die soon and thus join the dead person.