This is your father and this your mother, so take the hand of whom you like
Context: The Prophet had ruled that before the age of 7, the mother always retained custody unless she remarried in which case custody, went to the father. A divorced couple with their 7 year old son had been brought before him for a custody decision. Based on this decision, Islamic law makes a boy choose between his 2 parents after he/she reaches the age of 7. Girls reaching 7, transfer to the custody of their father until they are married.
Muhammad, 571-632, Prophet and Founder of Islam, Sunan al-Tirmidhi
Sourced by: Eigen's Political and Historical Quotations