"When the days of the mother's purification are finished"
This refers to the different number of days for purification based on if she gave birth to a son or daughter.