FR 3186 then FR 8358 at Manchester
Madrid → Manchester → Budapest
Timetable, Manchester time
16:25FR 3186 from Madrid at the gate
10:15FR 8358 to Budapest leaves the gate
17 h 50 apart on the timetable, overnight
FR 8358 leaves 17 h 50 after FR 3186 arrives on the timetable: more than half a day, so not a connection we count.