FR 3187 then IB 797 at Madrid
Manchester → Madrid → Vienna
Timetable, Madrid time
20:25FR 3187 from Manchester at the gate
19:55IB 797 to Vienna leaves the gate
23 h 30 apart on the timetable, overnight
IB 797 leaves 23 h 30 after FR 3187 arrives on the timetable: more than half a day, so not a connection we count.