FR 10 then EC 7646 at Madrid
Dublin → Madrid → Lisbon
Timetable, Madrid time
22:35FR 10 from Dublin at the gate
18:00EC 7646 to Lisbon leaves the gate
19 h 25 apart on the timetable, overnight
EC 7646 leaves 19 h 25 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.