Ibrahim (may Allah have mercy on him) said: "It is not permissible to give a gift or to free a slave on behalf of a child until he reaches puberty, and for a girl, menstruation is necessary." And he was only concerned about divorce in the case of a child.
Hadith Referenceسنن سعید بن منصور / كتاب الطلاق / 2890
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 436، 1712، وعبد الرزاق فى «مصنفه» برقم: 12314، 16424، وابن أبى شيبة فى «مصنفه» برقم: 18245، 18246»