QR 3692 then AZ 77 at Barcelona
Rome → Barcelona → Rome
Timetable, Barcelona time
17:05QR 3692 from Rome at the gate
11:40AZ 77 to Rome leaves the gate
18 h 35 apart on the timetable, overnight
AZ 77 leaves 18 h 35 after QR 3692 arrives on the timetable: more than half a day, so not a connection we count.