If a mother is unable to breastfeed due to medical reasons, she is not held accountable in Islam. Islam understands and acknowledges that certain circumstances or health conditions may prevent a woman from breastfeeding. In such cases, the mother can provide alternative sources of nutrition for the child as recommended by medical professionals.