FR 7156 then EW 3181 at Madrid
Dublin → Madrid → Prague
Timetable, Madrid time
23:45FR 7156 from Dublin at the gate
13:55EW 3181 to Prague leaves the gate
14 h 10 apart on the timetable, overnight
EW 3181 leaves 14 h 10 after FR 7156 arrives on the timetable: more than half a day, so not a connection we count.