FR 2767 then EC 7652 at Madrid
Prague → Madrid → Lisbon
Timetable, Madrid time
09:30FR 2767 from Prague at the gate
22:10EC 7652 to Lisbon leaves the gate
12 h 40 apart on the timetable
EC 7652 leaves 12 h 40 after FR 2767 arrives on the timetable: more than half a day, so not a connection we count.