FR 998 then FR 7157 at Madrid
Wroclaw → Madrid → Dublin
Timetable, Madrid time
21:20FR 998 from Wroclaw at the gate
18:40FR 7157 to Dublin leaves the gate
21 h 20 apart on the timetable, overnight
FR 7157 leaves 21 h 20 after FR 998 arrives on the timetable: more than half a day, so not a connection we count.