If it rains the day after tomorrow, I'll stay home.

Literal

Day-after-tomorrow rain [subject-が] fall [if-ば], I [topic-は] house [at-に] exist.

Straightforward ~ば conditional. Note the に on 家 for static existence (not motion) — inside the house, not going to it.