There is no such preference. There are many factors that the court considers but courts do not favor mothers over fathers.