Ibrahim (may Allah have mercy on him) said: If he sets the umm walad free, or dies leaving her behind, her waiting period is three menstrual periods.