NASAI-KUBRA 4661:
from ʿAbīdah —
[Machine] A man and a woman came to Ali, each with a group of people. When the two judges were appointed, he said, "Both of you wait until I inform you about what is upon you. Do you know what is upon you? If the two of you agree to be together, you shall be together, and if you agree to part ways, you shall part ways." Then he turned to the woman and asked, "Have you accepted their verdict?" She replied, "Yes, I have accepted the judgment of Allah upon me and my guardian." Then he turned to the man and asked, "Have you accepted their verdict?" He replied, "No, but I would prefer that we stay together rather than separate." Ali said, "By Allah, you have lied! You shall not leave until you are satisfied with the same judgment that she has accepted."
الكبرى للنسائي ٤٦٦١:
عن عبيده —
جَاءَ رَجُلٌ وَامْرَأَةٌ إِلَى عَلِيٍّ مَعَ كُلِّ وَاحِدٍ مِنْهُمَا فِئَامٌ مِنَ النَّاسِ فَلَمَّا بَعَثَ الْحَكَمَيْنُ قَالَ رُوَيْدَكُمَا حَتَّى أُعْلِمَكُمَا مَاذَا عَلَيْكُمَا هَلْ تَدْرِيَانِ مَاذَا عَلَيْكُمَا إِنَّكُمَا إِنْ رَأَيْتُمَا أَنْ تَجْمَعَا جَمَعْتُمَا وَإِنْ رَأَيْتُمَا أَنْ تُفَرِّقَا فَرَّقْتُمَا ثُمَّ أَقْبَلَ عَلَى الْمَرْأَةِ فَقَالَ «قَدْ رَضِيتِ بِمَا حَكَمَا؟» قَالَتْ نَعَمْ رَضِيتُ بِكِتَابِ اللهِ عَلَيَّ وَلِي ثُمَّ أَقْبَلَ عَلَى الرَّجُلِ فَقَالَ «قَدْ رَضِيتَ بِمَا حَكَمَا؟» قَالَ لَا وَلَكِنْ أَرْضَى أَنْ يَجْمَعَا وَلَا أَرْضَى أَنْ يُفَرِّقَا فَقَالَ عَلِيٌّ «كَذَبْتَ وَاللهِ لَا تَبْرَحْ حَتَّى تَرْضَى بِمِثْلِ الَّذِي رَضِيتُ»
hadithunlocked.com