FR 2761 then EI 5792 at Madrid
Bari → Madrid → Dublin
Timetable, Madrid time
18:45FR 2761 from Bari at the gate
16:10EI 5792 to Dublin leaves the gate
21 h 25 apart on the timetable, overnight
EI 5792 leaves 21 h 25 after FR 2761 arrives on the timetable: more than half a day, so not a connection we count.