וְאִם־נְקֵבָ֣ה תֵלֵ֔ד וְטָמְאָ֥ה שְׁבֻעַ֖יִם כְּנִדָּתָ֑הּ וְשִׁשִּׁ֥ים יוֹם֙ וְשֵׁ֣שֶׁת יָמִ֔ים תֵּשֵׁ֖ב עַל־דְּמֵ֥י טָהֳרָֽה׃
若她生了女孩,就不潔淨兩個七天,如同她月經期間的不潔淨一樣;她要在潔淨之血的期間等候六十六天。
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.”