Muhammad taught divorce is legal (for almost any reason by the male) and child brides (no courses/periods) and pregnancies -
Surah 65:4 (al-Hilali-Khan translation) -
“... And those of your women as have passed the age of monthly courses, for them the 'Iddah (prescribed period), if you have doubt (about their periods), is three months; and for those who have no courses [(i.e. they are still immature) their 'Iddah (prescribed period) is three months likewise, except in case of death]. And for those who are pregnant (whether they are divorced or their husbands are dead), their 'Iddah (prescribed period) is until they lay down their burden; and whosoever fears Allah and keeps his duty to Him, He will make his matter easy for him. ...”
Surah 65:5 (al-Hilali-Khan translation) -
“... That is the Command of Allah, which He has sent down to you; and whosoever fears Allah and keeps his duty to Him, He will expiate from him his sins, and will enlarge his reward. ...”
Surah 65:6 (al-Hilali-Khan translation) -
“... Lodge them (the divorced women) where you dwell, according to your means, and do not harm them so as to straiten them (that they be obliged to leave your house). And if they are pregnant, then spend on them till they lay down their burden. Then if they give suck to the children for you, given them their due payment, and let each of you accept the advice of the other in a just way. But if you make difficulties for one another, then some other woman may give suck for him (the father of the child). ...”
The Tafsir of al-Jalalain on 2:228, related to Surah 65:4 in citation:
"... [2:228]
Divorced women shall wait by themselves, before remarrying, for three periods (qurū’in is the plural of qar’), of purity or menstruation — these are two different opinions — which begin from the moment of divorce. This [stipulation] applies to those who have been sexually penetrated but not to those otherwise, on account of His saying, there shall be no [waiting] period for you to reckon against them [Q. 33:49]. The waiting period for immature or menopausal women is three months; pregnant women, on the other hand, must wait until they give birth, as stated in the sūrat al-Talāq [Q. 65:4], while slavegirls must wait two months, according to the Sunna. And it is not lawful for them to hide what God has created in their wombs, of child or menstruation, if they believe in God and the Last Day. Their mates, their spouses, have a better right to restore them, to bring them back, even if they refuse, in such time, that is, during the waiting period, if they desire to set things right, between them, and put pressure on the woman [to return]; the statement is not a condition for the possibility of return, but an incitement [to set things right] in the case of repealed divorce; the term ahaqq, ‘better right to’, does not denote any priority, since, in any case, no other person has the right to marry them during their waiting period; women shall have rights, due from their spouses, similar to those, rights, due from them, with justice, as stipulated by the Law, in the way of kind conjugality and not being harmed; but their men have a degree above them, in rights, as in their duty to obey their husbands, because of their [the husbands’] payment of a dowry and their [husbands] being the bread-winners; God is Mighty, in His Kingdom, Wise, in what He has ordained for His creatures. ..."
Tafsir of al-Jalalain on Surah 65:4:
"... [65:4]
And [as for] those of your women who (read allā’ī or allā’i in both instances) no longer expect to
menstruate, if you have any doubts, about their waiting period, their prescribed [waiting] period shall be three months, and [also for] those who have not yet menstruated, because of their young age, their period shall [also] be three months — both cases apply to other than those whose spouses have died; for these [latter] their period is prescribed in the verse: they shall wait by themselves for four months and ten [days] [Q. 2:234]. And those who are pregnant, their term, the conclusion of their prescribed [waiting] period if divorced or if their spouses be dead, shall be when they deliver. And whoever fears God, He will make matters ease for him, in this world and in the Hereafter. ...."