FR 5975 then FR 8358 at Manchester
Dubrovnik → Manchester → Budapest
Timetable, Manchester time
07:55FR 5975 from Dubrovnik at the gate
06:30FR 8358 to Budapest leaves the gate
22 h 35 apart on the timetable, overnight
FR 8358 leaves 22 h 35 after FR 5975 arrives on the timetable: more than half a day, so not a connection we count.