FR 640 then IB 988 at Manchester
Valencia → Manchester → Madrid
Timetable, Manchester time
14:55FR 640 from Valencia at the gate
14:35IB 988 to Madrid leaves the gate
23 h 40 apart on the timetable, overnight
IB 988 leaves 23 h 40 after FR 640 arrives on the timetable: more than half a day, so not a connection we count.