QR 3706 then EI 565 at Barcelona
Bari → Barcelona → Dublin
Timetable, Barcelona time
23:20QR 3706 from Bari at the gate
21:10EI 565 to Dublin leaves the gate
21 h 50 apart on the timetable, overnight
EI 565 leaves 21 h 50 after QR 3706 arrives on the timetable: more than half a day, so not a connection we count.