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