Qadi Shurayh (may Allah have mercy on him) said: "The child will remain with the mother as long as her expenses are covered from his wealth; when the two separate, then the guardians have more right."
Hadith Referenceسنن سعید بن منصور / كتاب الطلاق / 3459
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 2282، وعبد الرزاق فى «مصنفه» برقم: 12610»