R.I. Gen. Laws § 15-7-18. Denial of petition — Order as to custody of child.