EI 595 then FR 652 at Dublin
Madrid → Dublin → Lisbon
Timetable, Dublin time
22:15EI 595 from Madrid at the gate
17:35FR 652 to Lisbon leaves the gate
19 h 20 apart on the timetable, overnight
FR 652 leaves 19 h 20 after EI 595 arrives on the timetable: more than half a day, so not a connection we count.