EI 594 then FR 2766 at Madrid
Dublin → Madrid → Prague
Timetable, Madrid time
21:30EI 594 from Dublin at the gate
17:20FR 2766 to Prague leaves the gate
19 h 50 apart on the timetable, overnight
FR 2766 leaves 19 h 50 after EI 594 arrives on the timetable: more than half a day, so not a connection we count.