FR 1063 then FR 9674 at Madrid
Warsaw Modlin → Madrid → Rome
Timetable, Madrid time
21:10FR 1063 from Warsaw Modlin at the gate
20:50FR 9674 to Rome leaves the gate
23 h 40 apart on the timetable, overnight
FR 9674 leaves 23 h 40 after FR 1063 arrives on the timetable: more than half a day, so not a connection we count.