FR 1207 then EW 3181 at Madrid
Venezia → Madrid → Prague
Timetable, Madrid time
19:00FR 1207 from Venezia at the gate
13:55EW 3181 to Prague leaves the gate
18 h 55 apart on the timetable, overnight
EW 3181 leaves 18 h 55 after FR 1207 arrives on the timetable: more than half a day, so not a connection we count.