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