Translation:

233. The mothers shall give suck to their offspring for two whole years if the father desires to complete the term. But he shall bear the cost of their food and clothing on equitable terms. No soul shall have a burden laid on it greater than it can bear. No mother shall be treated unfairly on account of her child nor father on account of his child. An heir shall be chargeable in the same way if they both decide on weaning by mutual consent and after due consultation there is no blame on them. If ye decide on a foster-mother for your offspring there is no blame on you provided ye pay (the mother) what ye offered on equitable terms. But fear Allah and know that Allah sees well what ye do.

Notes (Tafseer)

266. As this comes in the midst of the regulations on divorce, it applies primarily to cases of divorce, where some definite rule is necessary, as the father and mother would not, on account of the divorce, probably be on good terms, and the interests of the children must be safeguarded. As, however, the wording is perfectly general, it has been held that the principle applies equally to the father and mother in wedlock: each must fulfil his or her part in the fostering of the child. On the other hand, it is provided that the child shall not be used as an excuse for driving a hard bargain on either side. By mutual consent they can agree to some source that is reasonable and equitable, both as regards the period before weaning (the maximum being two years) and the engagement of a wet-nurse, or (by analogy) for artificial feeding. But the mother's privileges must not be curtailed simply because by mutual consent she does not nurse the baby. In a matter of this kind the ultimate appeal must be to godliness, for all legal remedies are imperfect and may be misused.