BA 462 then FR 2766 at Madrid
London Heathrow → Madrid → Prague
Timetable, Madrid time
13:35BA 462 from London Heathrow at the gate
09:50FR 2766 to Prague leaves the gate
20 h 15 apart on the timetable, overnight
FR 2766 leaves 20 h 15 after BA 462 arrives on the timetable: more than half a day, so not a connection we count.