Of course they do. Babies are far more closer to their mothers than anybody else. Their closeness to them started right from the moment the mother conceived them. While their are in the womb, they survive through what their mothers is giving to them. And this is done via the placenta that carries blood, food nutrients, oxygen, etc, from their mothers to them.
Fortunately, during this period, the bond between them has already been established, and the baby has already gotten to recognize everything about the mother. By the time she has given birth to him/her, the baby has already gotten used to everything about his/her mother including the scent from the mother's body.
Lastly, babies are very sensitive to their environment, and due to this sensitivity, they can easily perceive what is happening around them. Interstingly, their mother is the only person they can relate with freely by recognizing everything about them.