EI 594 then AV 2498 at Madrid
Dublin → Madrid → Lisbon
Timetable, Madrid time
21:30EI 594 from Dublin at the gate
21:10AV 2498 to Lisbon leaves the gatealso LO 4729
23 h 40 apart on the timetable, overnight
AV 2498 leaves 23 h 40 after EI 594 arrives on the timetable: more than half a day, so not a connection we count.