FR 998 then FR 7921 at Madrid
Wroclaw → Madrid → Shannon
Timetable, Madrid time
21:20FR 998 from Wroclaw at the gate
09:45FR 7921 to Shannon leaves the gate
12 h 25 apart on the timetable, overnight
FR 7921 leaves 12 h 25 after FR 998 arrives on the timetable: more than half a day, so not a connection we count.