IB 5389 then QR 3720 at Barcelona
Bari → Barcelona → Hamburg
Timetable, Barcelona time
23:20IB 5389 from Bari at the gatealso LL 5389, VY 6113
17:05QR 3720 to Hamburg leaves the gate
17 h 45 apart on the timetable, overnight
QR 3720 leaves 17 h 45 after IB 5389 arrives on the timetable: more than half a day, so not a connection we count.