BA 460 then FR 2528 at Madrid
London Heathrow → Madrid → Berlin
Timetable, Madrid time
12:15BA 460 from London Heathrow at the gate
05:50FR 2528 to Berlin leaves the gate
17 h 35 apart on the timetable, overnight
FR 2528 leaves 17 h 35 after BA 460 arrives on the timetable: more than half a day, so not a connection we count.