U2 8025 then IB 1315 at Madrid
London Gatwick → Madrid → Munich
Timetable, Madrid time
20:30U2 8025 from London Gatwick at the gate
19:55IB 1315 to Munich leaves the gatealso LA 1564, VY 5246
23 h 25 apart on the timetable, overnight
IB 1315 leaves 23 h 25 after U2 8025 arrives on the timetable: more than half a day, so not a connection we count.