FR 7156 then FR 2209 at Madrid
Dublin → Madrid → Venezia
Timetable, Madrid time
20:40FR 7156 from Dublin at the gate
17:50FR 2209 to Venezia leaves the gate
21 h 10 apart on the timetable, overnight
FR 2209 leaves 21 h 10 after FR 7156 arrives on the timetable: more than half a day, so not a connection we count.