FR 2527 then U2 8020 at Madrid
Berlin → Madrid → London Gatwick
Timetable, Madrid time
23:10FR 2527 from Berlin at the gate
11:50U2 8020 to London Gatwick leaves the gate
12 h 40 apart on the timetable, overnight
U2 8020 leaves 12 h 40 after FR 2527 arrives on the timetable: more than half a day, so not a connection we count.