What happens if two or more eligible custodians are of the same degree of relationship?
Chapter on Who is More Entitled to Child Custody
Al-Mughni
Book of Maintenance (Nafaqāt)
Primary text
If two or more eligible custodians are present and are of the same degree of relationship, the one determined by lot (Qur'ah) is prioritized.