FR 5271 then QR 3619 at Barcelona
Manchester → Barcelona → Bari
Timetable, Barcelona time
21:55FR 5271 from Manchester at the gate
18:15QR 3619 to Bari leaves the gate
20 h 20 apart on the timetable, overnight
QR 3619 leaves 20 h 20 after FR 5271 arrives on the timetable: more than half a day, so not a connection we count.