UX 1040 then FR 3614 at Madrid
Rome → Madrid → Prague
Timetable, Madrid time
13:05UX 1040 from Rome at the gatealso ET 1424, EY 4333, AM 6926, AZ 7116, AD 7897
06:10FR 3614 to Prague leaves the gate
17 h 05 apart on the timetable, overnight
FR 3614 leaves 17 h 05 after UX 1040 arrives on the timetable: more than half a day, so not a connection we count.