UX 42 then FR 7157 at Madrid
Buenos Aires → Madrid → Dublin
Timetable, Madrid time
02:00UX 42 from Buenos Aires at the gate
18:40FR 7157 to Dublin leaves the gate
16 h 40 apart on the timetable
FR 7157 leaves 16 h 40 after UX 42 arrives on the timetable: more than half a day, so not a connection we count.