Ibrahim (may Allah have mercy on him) said: If one of the two dies before the li'an (mutual imprecation), they inherit from each other.