FR 2767 then UX 1041 at Madrid
Prague → Madrid → Rome
Timetable, Madrid time
17:45FR 2767 from Prague at the gate
12:40UX 1041 to Rome leaves the gatealso EY 4330
18 h 55 apart on the timetable, overnight
UX 1041 leaves 18 h 55 after FR 2767 arrives on the timetable: more than half a day, so not a connection we count.