FR 6814 then W6 2372 at Madrid
Manchester → Madrid → Budapest
Timetable, Madrid time
23:55FR 6814 from Manchester at the gate
20:00W6 2372 to Budapest leaves the gate
20 h 05 apart on the timetable, overnight
W6 2372 leaves 20 h 05 after FR 6814 arrives on the timetable: more than half a day, so not a connection we count.