After talaq, if they have children both boys and girls, the mother shall have the right of nourishment for the boys up to seven years and for the girls up to nine years while father would be responsible for their expenses. After the boys reach the age of seven and the girls the age of nine, the right of nourishment shall turn to the father. It shall be lawful for the father to take the custody of the children after the said period is complete.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband