After greetings, I wish to state that I have given my wife three divorces due to her misconduct. We have three children — two are with me and one is with my (former) wife. The boy who is twelve (12) years old and the girl who is ten (10) years old are with me, and the boy who is four (4) years old is with my wife. Now my wife is demanding custody of the children. The question is: According to Shariah, who has the right to custody of the children?
The son who is twelve (12) years old and the daughter who is ten (10) years old may remain with the questioner. It is not permissible for the mother to demand custody of these two children. However, the son who is four (4) years old will remain under the care of his mother until he reaches the age of seven (7), provided that she does not marry a non-mahram during this period. All expenses related to the child's upbringing during this time will be the responsibility of the questioner. After the child completes seven years, the father has the right to take him also into his custody if he wishes.
كما في بدائع الصنائع في ترتيب الشرائع: وأما وقت الحضانة التي من قبل النساء فالأم والجدتان أحق بالغلام حتى يستغني عنهن فيأكل وحده ويشرب وحده ويلبس وحده كذا ذكر في ظاهر الرواية، وذكر أبو داود بن رشيد عن محمد ويتوضأ وحده يريد به الاستنجاء أي ويستنجي وحده ولم يقدر في ذلك تقديرا وذكر الخصاف سبع سنين أو ثمان سنين أو نحو ذلك. وأما الجارية فهي أحق بها حتى تحيض كذا ذكر في ظاهر الرواية اھ (4/ 42)۔
و في الفتاوى الهندية: والأم والجدة أحق بالغلام حتى يستغني وقدر بسبع سنين وقال القدوري حتى يأكل وحده ويشرب وحده ويستنجي وحده وقدره أبو بكر الرازي بتسع سنين والفتوى على الأول والأم والجدة أحق بالجارية حتى تحيض و في نوادر هشام عن محمد رحمه الله تعالى إذا بلغت حد الشهوة فالأب أحق وهذا صحيح هكذا في التبيين اھ (1/ 542) والله اعلم بالصواب