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