FR 7156 then AV 2506 at Madrid
Dublin → Madrid → Lisbon
Timetable, Madrid time
23:45FR 7156 from Dublin at the gate
18:00AV 2506 to Lisbon leaves the gatealso EK 4859, AD 7273, S4 8963
18 h 15 apart on the timetable, overnight
AV 2506 leaves 18 h 15 after FR 7156 arrives on the timetable: more than half a day, so not a connection we count.