FR 10 then IB 547 at Madrid
Dublin → Madrid → Porto
Timetable, Madrid time
23:55FR 10 from Dublin at the gate
15:40IB 547 to Porto leaves the gate
15 h 45 apart on the timetable, overnight
IB 547 leaves 15 h 45 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.