AC 2683 then FR 494 at Madrid
Lisbon → Madrid → Dublin
Timetable, Madrid time
09:30AC 2683 from Lisbon at the gate
07:50FR 494 to Dublin leaves the gate
22 h 20 apart on the timetable, overnight
FR 494 leaves 22 h 20 after AC 2683 arrives on the timetable: more than half a day, so not a connection we count.