FR 10 then IB 533 at Madrid
Dublin → Madrid → Lisbon
Timetable, Madrid time
22:35FR 10 from Dublin at the gate
15:40IB 533 to Lisbon leaves the gate
17 h 05 apart on the timetable, overnight
IB 533 leaves 17 h 05 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.