the baby or the mother??

if the mother is unable to decide for herself then next of kin consents to the operation/procedure

in most cases next of kin is considered husband if she is married, if not then parents brothers and sisters.