FR 998 then UX 1041 at Madrid
Wroclaw → Madrid → Rome
Timetable, Madrid time
21:20FR 998 from Wroclaw at the gate
12:40UX 1041 to Rome leaves the gate
15 h 20 apart on the timetable, overnight
UX 1041 leaves 15 h 20 after FR 998 arrives on the timetable: more than half a day, so not a connection we count.