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