Ibrahim (may Allah have mercy on him) said: They inherit from each other as long as li'an has not taken place.