FR 7241 then FR 2030 at Dublin
Madrid → Dublin → Krakow
Timetable, Dublin time
11:40FR 7241 from Madrid at the gate
10:50FR 2030 to Krakow leaves the gate
23 h 10 apart on the timetable, overnight
FR 2030 leaves 23 h 10 after FR 7241 arrives on the timetable: more than half a day, so not a connection we count.