Leviticus 14:36

Then the priest shall command that they empty the house, before the priest go into it to see the plague, that all that is in the house be not made unclean: and afterward the priest shall go in to see the house:

Cross-reference

In Revelation 18:4, God's people are called out of Babylon to avoid her plagues — paralleling the command to empty the house to avoid uncleanness.

In Numbers 19:15, open vessels become unclean from a corpse — similar concern for uncleanness spreading to objects, as here with the house.