QR 3671 then QR 3619 at Barcelona
Rome → Barcelona → Bari
Timetable, Barcelona time
01:25QR 3671 from Rome at the gatealso LA 5745
18:15QR 3619 to Bari leaves the gate
16 h 50 apart on the timetable
QR 3619 leaves 16 h 50 after QR 3671 arrives on the timetable: more than half a day, so not a connection we count.