FR 1063 then FR 9440 at Madrid
Warsaw Modlin → Madrid → Lisbon
Timetable, Madrid time
21:10FR 1063 from Warsaw Modlin at the gate
19:25FR 9440 to Lisbon leaves the gate
22 h 15 apart on the timetable, overnight
FR 9440 leaves 22 h 15 after FR 1063 arrives on the timetable: more than half a day, so not a connection we count.