Sure An-Nisaa

4:35

وَإِنْ خِفْتُمْ شِقَاقَ بَيْنِهِمَا فَٱبْعَثُوا۟ حَكَمًۭا مِّنْ أَهْلِهِۦ وَحَكَمًۭا مِّنْ أَهْلِهَآ إِن يُرِيدَآ إِصْلَٰحًۭا يُوَفِّقِ ٱللَّهُ بَيْنَهُمَآ ۗ إِنَّ ٱللَّهَ كَانَ عَلِيمًا خَبِيرًۭا

Und wenn ihr Widerstreit zwischen den beiden befürchtet, dann setzt einen Schiedsrichter aus seiner Familie und einen Schiedsrichter aus ihrer Familie ein. Wenn sie (beide) eine Aussöhnung wollen, wird Allah sie (beide) in Einklang bringen. Gewiß, Allah ist Allwissend und Allkundig.

Tafsir 4:35

If you fear that a disagreement between the two of them is leading to aggression and incompatibility, then send a just man from the family of the husband, and a just man from the family of the wife to judge what the benefits of them separating or staying together might be. Staying together is preferable and better. If the two judges want this, using the best methods to get them back together, then Allah will make them come to an understanding, and the argument between them will be resolved. Allah is Knowing. Nothing about His creatures is hidden from Him, and He is Aware of what they hide in their hearts.