FR 7156 then AM 6845 at Madrid
Dublin → Madrid → Venezia
Timetable, Madrid time
23:45FR 7156 from Dublin at the gate
15:15AM 6845 to Venezia leaves the gate
15 h 30 apart on the timetable, overnight
AM 6845 leaves 15 h 30 after FR 7156 arrives on the timetable: more than half a day, so not a connection we count.