Leviticus 12:5

12:5 If she bears a female child, she will be impure fourteen days as during her menstrual flow, and she will remain sixty-six days in blood purity.

Leviticus 25:52

25:52 but if only a few years remain until the jubilee, he must calculate for himself in keeping with the remaining years and refund it for his redemption.