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