EC 7645 then FR 7157 at Madrid
Lisbon → Madrid → Dublin
Timetable, Madrid time
17:25EC 7645 from Lisbon at the gate
07:00FR 7157 to Dublin leaves the gate
13 h 35 apart on the timetable, overnight
FR 7157 leaves 13 h 35 after EC 7645 arrives on the timetable: more than half a day, so not a connection we count.