FR 9441 then FR 2766 at Madrid
Lisbon → Madrid → Prague
Timetable, Madrid time
15:55FR 9441 from Lisbon at the gate
10:05FR 2766 to Prague leaves the gate
18 h 10 apart on the timetable, overnight
FR 2766 leaves 18 h 10 after FR 9441 arrives on the timetable: more than half a day, so not a connection we count.