I think even if you didn't want to take the leave for its own sake you might find taking it would let the mother have some time and rest which didn't involve caring for a tiny-human non-stop.
But to answer the question more literally I suspect there would be no penalty.
But to answer the question more literally I suspect there would be no penalty.