AV 2505 then FR 2766 at Madrid
Lisbon → Madrid → Prague
Timetable, Madrid time
20:20AV 2505 from Lisbon at the gatealso LO 4710, EK 4988, AD 7284, S4 8032
17:20FR 2766 to Prague leaves the gate
21 h apart on the timetable, overnight
FR 2766 leaves 21 h after AV 2505 arrives on the timetable: more than half a day, so not a connection we count.