UX 1152 then FR 494 at Madrid
Lisbon → Madrid → Dublin
Timetable, Madrid time
10:15UX 1152 from Lisbon at the gate
23:10FR 494 to Dublin leaves the gate
12 h 55 apart on the timetable
FR 494 leaves 12 h 55 after UX 1152 arrives on the timetable: more than half a day, so not a connection we count.