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