Hazrat Abdullah (may Allah be pleased with him) says that whichever of the male or female slave is sold, it is like their divorce.