QR 3706 then FR 3976 at Barcelona
Bari → Barcelona → Dublin
Timetable, Barcelona time
23:20QR 3706 from Bari at the gate
12:55FR 3976 to Dublin leaves the gate
13 h 35 apart on the timetable, overnight
FR 3976 leaves 13 h 35 after QR 3706 arrives on the timetable: more than half a day, so not a connection we count.