Le Lévitique 12:5 Halakha : Sefer HaChinukh

וְאִם־נְקֵבָ֣ה תֵלֵ֔ד וְטָמְאָ֥ה שְׁבֻעַ֖יִם כְּנִדָּתָ֑הּ וְשִׁשִּׁ֥ים יוֹם֙ וְשֵׁ֣שֶׁת יָמִ֔ים תֵּשֵׁ֖ב עַל־דְּמֵ֥י טָהֳרָֽה׃

Si c’est une fille qu’elle met au monde, elle sera impure deux semaines, comme lors de son isolement; puis, durant soixante-six jours, elle restera dans le sang de purification.

Sefer HaChinukh

The commandment of the matter of the impurity of a woman who has given birth: To render a woman who has given birth impure; meaning to say that when a woman gives birth she be impure for her husband - and all the more so for pure items - seven days for a male and two weeks for a female, as it is stated (Leviticus 12:2, Leviticus 12:5), "If a woman conceives and gives birth to a male, she will be impure for seven days, etc. And if she gives birth to a female, she will be impure for two weeks, etc."