2:233
وَ ٱلْ وَٰلِدَٰتُ يُرْضِعْ نَ أَوْلَٰدَ هُنَّ حَوْلَيْنِ كَامِلَيْنِ لِ مَنْ أَرَادَ أَن يُتِمَّ ٱل رَّضَاعَةَ وَ عَلَى ٱلْ مَوْلُودِ لَ هُۥ رِزْقُ هُنَّ وَ كِسْوَتُ هُنَّ بِ ٱلْ مَعْرُوفِ لَا تُكَلَّفُ نَفْسٌ إِلَّا وُسْعَ هَا لَا تُضَآرَّ وَٰلِدَةٌۢ بِ وَلَدِ هَا وَ لَا مَوْلُودٌ لَّ هُۥ بِ وَلَدِ هِۦ وَ عَلَى ٱلْ وَارِثِ مِثْلُ ذَٰلِكَ فَ إِنْ أَرَادَ ا فِصَالًا عَن تَرَاضٍ مِّنْ هُمَا وَ تَشَاوُرٍ فَ لَا جُنَاحَ عَلَيْ هِمَا وَ إِنْ أَرَد تُّمْ أَن تَسْتَرْضِعُ وٓا۟ أَوْلَٰدَ كُمْ فَ لَا جُنَاحَ عَلَيْ كُمْ إِذَا سَلَّمْ تُم مَّآ ءَاتَيْ تُم بِ ٱلْ مَعْرُوفِ وَ ٱتَّقُ وا۟ ٱللَّهَ وَ ٱعْلَمُ وٓا۟ أَنَّ ٱللَّهَ بِ مَا تَعْمَلُ ونَ بَصِيرٌ
Mothers may breastfeed their children two complete years for whoever wishes to complete the nursing [period]. Upon the father is the mothers' provision and their clothing according to what is acceptable. No person is charged with more than his capacity. No mother should be harmed through her child, and no father through his child. And upon the [father's] heir is [a duty] like that [of the father]. And if they both desire weaning through mutual consent from both of them and consultation, there is no blame upon either of them. And if you wish to have your children nursed by a substitute, there is no blame upon you as long as you give payment according to what is acceptable. And fear Allah and know that Allah is Seeing of what you do.