FR 6266 then AZ 77 at Barcelona
Edinburgh → Barcelona → Rome
Timetable, Barcelona time
11:55FR 6266 from Edinburgh at the gate
11:40AZ 77 to Rome leaves the gate
23 h 45 apart on the timetable, overnight
AZ 77 leaves 23 h 45 after FR 6266 arrives on the timetable: more than half a day, so not a connection we count.