FR 6926 then QR 3619 at Barcelona
Rome → Barcelona → Bari
Timetable, Barcelona time
23:25FR 6926 from Rome at the gate
18:15QR 3619 to Bari leaves the gate
18 h 50 apart on the timetable, overnight
QR 3619 leaves 18 h 50 after FR 6926 arrives on the timetable: more than half a day, so not a connection we count.