FR 6927 then UX 1042 at Fiumicino
Barcelona → Rome → Madrid
Timetable, Rome time
21:15FR 6927 from Barcelona at the gate
15:55UX 1042 to Madrid leaves the gate
18 h 40 apart on the timetable, overnight
UX 1042 leaves 18 h 40 after FR 6927 arrives on the timetable: more than half a day, so not a connection we count.