EI 594 then FR 572 at Madrid
Dublin → Madrid → Porto
Timetable, Madrid time
19:55EI 594 from Dublin at the gate
14:05FR 572 to Porto leaves the gate
18 h 10 apart on the timetable, overnight
FR 572 leaves 18 h 10 after EI 594 arrives on the timetable: more than half a day, so not a connection we count.