ENOfficial
Abu Huraira reported the Prophet (ﷺ) as saying, “Two people must separate only by mutual consent.” Abu Dawud transmitted it.
Source: sunnah.com
Other translations
Arabic
وَعَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَا يَتَفَرَّقَنَّ اثْنَانِ إِلَّا عنْ تراضٍ» . رَوَاهُ أَبُو دَاوُد
sunnah.com