FR 3613 then FR 7157 at Madrid
Prague → Madrid → Dublin
Timetable, Madrid time
18:10FR 3613 from Prague at the gate
18:00FR 7157 to Dublin leaves the gate
23 h 50 apart on the timetable, overnight
FR 7157 leaves 23 h 50 after FR 3613 arrives on the timetable: more than half a day, so not a connection we count.