FR 1063 then IB 533 at Madrid
Warsaw Modlin → Madrid → Lisbon
Timetable, Madrid time
20:00FR 1063 from Warsaw Modlin at the gate
15:40IB 533 to Lisbon leaves the gate
19 h 40 apart on the timetable, overnight
IB 533 leaves 19 h 40 after FR 1063 arrives on the timetable: more than half a day, so not a connection we count.